aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-05-08 00:29:54 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-05-08 00:29:54 +0200
commita3a51e321ff931b45373afc4f9d0886249359ca0 (patch)
treedbd2848e416da7c489a326a788aaab924fd9ba07 /src
parent68e4c6ce2cbcc16f5613a7731d4cfac13e4d3354 (diff)
downloadblogc-a3a51e321ff931b45373afc4f9d0886249359ca0.tar.gz
blogc-a3a51e321ff931b45373afc4f9d0886249359ca0.tar.bz2
blogc-a3a51e321ff931b45373afc4f9d0886249359ca0.zip
directives: declare directive functions as static
Diffstat (limited to 'src')
-rw-r--r--src/directives.c2
-rw-r--r--src/directives.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/directives.c b/src/directives.c
index eb6166b..65d2e7b 100644
--- a/src/directives.c
+++ b/src/directives.c
@@ -39,7 +39,7 @@ blogc_directive_loader(blogc_directive_ctx_t *ctx, blogc_error_t **err)
}
-char*
+static char*
blogc_directive_youtube(blogc_directive_ctx_t *ctx, blogc_error_t **err)
{
if (ctx->argument == NULL) {
diff --git a/src/directives.h b/src/directives.h
index 0c6e35b..de1cb55 100644
--- a/src/directives.h
+++ b/src/directives.h
@@ -31,6 +31,6 @@ char* blogc_directive_loader(blogc_directive_ctx_t *ctx, blogc_error_t **err);
// built-in directives (that are everything we support right now
-char* blogc_directive_youtube(blogc_directive_ctx_t *ctx, blogc_error_t **err);
+static char* blogc_directive_youtube(blogc_directive_ctx_t *ctx, blogc_error_t **err);
#endif /* _DIRECTIVES_H */