From: jan@unixpapa.com Date: Wed, 1 Feb 2012 12:03:03 +0000 (+0000) Subject: Removed old style strchr() prototype. X-Git-Tag: pwauth-2.3.11~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a61324be264f8adc97600ea4395ef356e28d3fdc;p=pwauth Removed old style strchr() prototype. --- diff --git a/pwauth/CHANGES b/pwauth/CHANGES index 7200f2e..abc9a6d 100644 --- a/pwauth/CHANGES +++ b/pwauth/CHANGES @@ -3,6 +3,7 @@ Pwauth Change Log VERSION 2.3.11 - - Don't define "uid" variable if SERVER_UID is not defined. + - Removed old-style strchr prototype. VERSION 2.3.10 - Oct 5, 2011 - Changed the serialized sleep code in snooze.c to use fcntl() locking diff --git a/pwauth/main.c b/pwauth/main.c index 5dda8db..1b7ebb5 100644 --- a/pwauth/main.c +++ b/pwauth/main.c @@ -50,7 +50,7 @@ main(int argc, char **argv) char *login, *passwd; #else char login[BFSZ+1], passwd[BFSZ+1]; - char *c, *strchr(); + char *c; #endif #ifdef SERVER_UIDS int uid;