]> arthur.barton.de Git - ngircd-alex.git/commitdiff
conf: add missing static qualifier
authorFlorian Westphal <fw@strlen.de>
Sun, 9 Jan 2011 16:54:21 +0000 (17:54 +0100)
committerFlorian Westphal <fw@strlen.de>
Sun, 9 Jan 2011 16:54:21 +0000 (17:54 +0100)
internal helper, so it should be static.

also, add UNUSED to 'Line'.

src/ngircd/conf.c

index b194d3aedec0ae510fe68329209f328164654be9..db5286938c1760c88c944d1d9a481ac54114fa09 100644 (file)
@@ -893,7 +893,7 @@ Handle_MaxNickLength(int Line, const char *Arg)
 
 
 static void
-WarnIdent(int Line)
+WarnIdent(int UNUSED Line)
 {
 #ifndef IDENTAUTH
        if (Conf_Ident) {
@@ -927,7 +927,7 @@ CheckLegacyNoOption(const char *Var, const char *Arg)
        return false;
 }
 
-const char *
+static const char *
 NoNo(const char *str)
 {
        assert(strncasecmp("no", str, 2) == 0 && str[2]);