summaryrefslogtreecommitdiffstats
path: root/src/appl
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>2005-01-13 11:51:51 +0000
committerEzra Peisach <epeisach@mit.edu>2005-01-13 11:51:51 +0000
commit125f5755e4fb4c91224843c1a3f55506d0c107ec (patch)
tree569ad256e1c0cadae02d5568c07ab95b8522ca75 /src/appl
parentb3a3bb283e5d5da8fb2a0ff308e2666d92c092d7 (diff)
downloadkrb5-125f5755e4fb4c91224843c1a3f55506d0c107ec.tar.gz
krb5-125f5755e4fb4c91224843c1a3f55506d0c107ec.tar.xz
krb5-125f5755e4fb4c91224843c1a3f55506d0c107ec.zip
* 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
Diffstat (limited to 'src/appl')
-rw-r--r--src/appl/gssftp/ftpd/ChangeLog5
-rw-r--r--src/appl/gssftp/ftpd/ftpd.c2
2 files changed, 6 insertions, 1 deletions
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 <epeisach@mit.edu>
+
+ * ftpd.c: GCC 4.0 fixes... Move static declaration of gunique out
+ of function.
+
2004-11-26 Sam Hartman <hartmans@mit.edu>
* 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));