From 5d3ffd49d12796364fa0aa53f0e2c57d76c96728 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Thu, 5 Jul 2001 11:32:15 +0000 Subject: [PATCH] * ftpd.c: Provide prototypes for myoob and lostconn git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13558 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/gssftp/ftpd/ChangeLog | 4 ++++ src/appl/gssftp/ftpd/ftpd.c | 8 +++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/appl/gssftp/ftpd/ChangeLog b/src/appl/gssftp/ftpd/ChangeLog index 91f5c5c01..0a5b04445 100644 --- a/src/appl/gssftp/ftpd/ChangeLog +++ b/src/appl/gssftp/ftpd/ChangeLog @@ -1,3 +1,7 @@ +2001-07-04 Ezra Peisach + + * ftpd.c: Provide prototypes for myoob and lostconn. + 2001-07-03 Ezra Peisach * ftpd.c (sgetpwnam): Remove local declaration of sgetsave. diff --git a/src/appl/gssftp/ftpd/ftpd.c b/src/appl/gssftp/ftpd/ftpd.c index 3e832afd9..4ad23f239 100644 --- a/src/appl/gssftp/ftpd/ftpd.c +++ b/src/appl/gssftp/ftpd/ftpd.c @@ -239,7 +239,7 @@ char *rhost_sane; int swaitmax = SWAITMAX; int swaitint = SWAITINT; -void lostconn(), myoob(); +void lostconn(int), myoob(int); FILE *getdatasock(char *); #if defined(__STDC__) /* @@ -582,7 +582,8 @@ nextopt: } void -lostconn() +lostconn(sig) +int sig; { if (debug) syslog(LOG_DEBUG, "lost connection"); @@ -2149,7 +2150,8 @@ dologout(status) } void -myoob() +myoob(sig) + int sig; { char *cp, *cs; #ifndef strpbrk -- 2.26.2