diff options
| author | Florian Westphal <fw@strlen.de> | 2011-01-09 17:54:21 +0100 |
|---|---|---|
| committer | Florian Westphal <fw@strlen.de> | 2011-01-09 17:54:21 +0100 |
| commit | 9402bcaa73a9365f861108f1b53eec1c09837eef (patch) | |
| tree | 378bda30c204fd7f9741ccd21e18b26f08bca23a /src | |
| parent | 6d11fb149707194e986b0d64af3d44f21e158fcc (diff) | |
| download | ngircd-9402bcaa73a9365f861108f1b53eec1c09837eef.tar.gz ngircd-9402bcaa73a9365f861108f1b53eec1c09837eef.zip | |
conf: add missing static qualifier
internal helper, so it should be static. also, add UNUSED to 'Line'.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ngircd/conf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ngircd/conf.c b/src/ngircd/conf.c index b194d3ae..db528693 100644 --- a/src/ngircd/conf.c +++ b/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]); |