aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ge.c4
-rw-r--r--gmid.h4
2 files changed, 2 insertions, 6 deletions
diff --git a/ge.c b/ge.c
index e0d7b55..5b21bc1 100644
--- a/ge.c
+++ b/ge.c
@@ -91,7 +91,7 @@ log_request(struct client *c, int code, const char *meta)
*c->domain == '\0' ? c->iri.host : c->domain, b, code, meta);
}
-void
+static void
load_local_cert(struct vhost *h, const char *hostname, const char *dir)
{
char *cert, *key;
@@ -144,7 +144,7 @@ mkdirs(const char *path, mode_t mode)
}
/* $XDG_DATA_HOME/gemexp */
-char *
+static char *
data_dir(void)
{
const char *home, *xdg;
diff --git a/gmid.h b/gmid.h
index 21d793c..d484a17 100644
--- a/gmid.h
+++ b/gmid.h
@@ -367,10 +367,6 @@ enum imsg_type {
IMSG_CTL_PROCFD,
};
-/* gmid.c */
-char *data_dir(void);
-void load_local_cert(struct vhost*, const char*, const char*);
-
/* gmid.c / ge.c */
void log_request(struct client *, int, const char *);