From: Ezra Peisach Date: Fri, 30 Jun 2000 12:57:11 +0000 (+0000) Subject: * setenv.c: Do not provide prototype for static function unless X-Git-Tag: krb5-1.3-alpha1~2061 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=41ac0b0b7127178c93344caf4d15f62bb12d4376;p=krb5.git * setenv.c: Do not provide prototype for static function unless defined. gcc -Wall error. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12476 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/posix/ChangeLog b/src/lib/krb5/posix/ChangeLog index 118c02832..9a29f296e 100644 --- a/src/lib/krb5/posix/ChangeLog +++ b/src/lib/krb5/posix/ChangeLog @@ -1,3 +1,8 @@ +2000-06-30 Ezra Peisach + + * setenv.c: Do not provide prototype for static function unless + defined. + 2000-04-28 Ken Raeburn Nalin Dahyabhai diff --git a/src/lib/krb5/posix/setenv.c b/src/lib/krb5/posix/setenv.c index 7072d7e1b..935e76451 100644 --- a/src/lib/krb5/posix/setenv.c +++ b/src/lib/krb5/posix/setenv.c @@ -45,7 +45,10 @@ #ifndef __P #define __P(x) () #endif + +#if (!HAVE_GETENV || !HAVE_SETENV || !HAVE_UNSETENV) static char *__findenv __P((const char *, int *)); +#endif /* * setenv --