From: Ezra Peisach Date: Thu, 13 Jan 2005 11:51:51 +0000 (+0000) Subject: * ftpd.c: GCC 4.0 fixes... Move static declaration of gunique out X-Git-Tag: ms-bug-test-20060525~384 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=125f5755e4fb4c91224843c1a3f55506d0c107ec;p=krb5.git * ftpd.c: GCC 4.0 fixes... Move static declaration of gunique out of function. ticket: 2876 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17026 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/gssftp/ftpd/ChangeLog b/src/appl/gssftp/ftpd/ChangeLog index f9ac14161..281776833 100644 --- a/src/appl/gssftp/ftpd/ChangeLog +++ b/src/appl/gssftp/ftpd/ChangeLog @@ -1,3 +1,8 @@ +2005-01-13 Ezra Peisach + + * ftpd.c: GCC 4.0 fixes... Move static declaration of gunique out + of function. + 2004-11-26 Sam Hartman * ftpcmd.y: nbby should be 8 for anything platform we care about. diff --git a/src/appl/gssftp/ftpd/ftpd.c b/src/appl/gssftp/ftpd/ftpd.c index 4e3ef9064..6655e0d62 100644 --- a/src/appl/gssftp/ftpd/ftpd.c +++ b/src/appl/gssftp/ftpd/ftpd.c @@ -260,6 +260,7 @@ static void end_login(void); static int disallowed_user(char *); static int restricted_user(char *); static int checkuser(char *); +static char *gunique(char *); #ifdef SETPROCTITLE char **Argv = NULL; /* pointer to argument vector */ @@ -1279,7 +1280,6 @@ store_file(name, fmode, unique) FILE *fout, *din; struct stat st; int (*closefunc)(); - static char *gunique(); if (logging > 1) syslog(LOG_NOTICE, "put %s", path_expand(name));