commit 9402bcaa73a9365f861108f1b53eec1c09837eef from: Florian Westphal date: Sun Jan 09 16:54:21 2011 UTC conf: add missing static qualifier internal helper, so it should be static. also, add UNUSED to 'Line'. commit - 6d11fb149707194e986b0d64af3d44f21e158fcc commit + 9402bcaa73a9365f861108f1b53eec1c09837eef blob - b194d3aedec0ae510fe68329209f328164654be9 blob + db5286938c1760c88c944d1d9a481ac54114fa09 --- src/ngircd/conf.c +++ src/ngircd/conf.c @@ -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]);