summaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2014-11-27 22:04:53 -0500
committerDave Reisner <dreisner@archlinux.org>2014-11-27 22:05:02 -0500
commit41725289827500e8055014cd6126af877022dbaa (patch)
treeeac1d0d817839659d75302faa610cb2e3c5e688c /conf.c
parentd4ab6ef08723c2c47802fd56222bf6105919ec3b (diff)
downloadexpac-41725289827500e8055014cd6126af877022dbaa.tar.xz
squelch compiler warnings
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf.c b/conf.c
index aef4cbf..09889f6 100644
--- a/conf.c
+++ b/conf.c
@@ -36,7 +36,7 @@ static size_t strtrim(char *str)
return right - left;
}
-int is_section(const char *s, int n)
+static int is_section(const char *s, int n)
{
return s[0] == '[' && s[n-1] == ']';
}