diff options
author | Ken Raeburn <raeburn@mit.edu> | 2001-10-10 03:18:22 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2001-10-10 03:18:22 +0000 |
commit | 7613acc70e37ebabd7743da02da4f4ff0d218d5c (patch) | |
tree | ea7b08ad73cfb7cd8a5ca8e77a9fb646770804f0 /src/appl/gssftp/ftp/ftp.c | |
parent | ad4d9f8d0f83524931da62aebb592ab53f2218d9 (diff) | |
download | krb5-7613acc70e37ebabd7743da02da4f4ff0d218d5c.tar.gz krb5-7613acc70e37ebabd7743da02da4f4ff0d218d5c.tar.xz krb5-7613acc70e37ebabd7743da02da4f4ff0d218d5c.zip |
Don't conditionalize prototypes; delete macros supporting it. (Maybe overdone;
don't worry about restoring them when importing new versions of code.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13792 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl/gssftp/ftp/ftp.c')
-rw-r--r-- | src/appl/gssftp/ftp/ftp.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/appl/gssftp/ftp/ftp.c b/src/appl/gssftp/ftp/ftp.c index e5027da814..610318b3c3 100644 --- a/src/appl/gssftp/ftp/ftp.c +++ b/src/appl/gssftp/ftp/ftp.c @@ -154,15 +154,15 @@ unsigned char *ucbuf; #include "secure.h" #ifdef GSSAPI -void user_gss_error PROTOTYPE((OM_uint32, OM_uint32, char *)); +void user_gss_error (OM_uint32, OM_uint32, char *); #endif -static void proxtrans PROTOTYPE((char *, char *, char *)); -static int initconn PROTOTYPE((void)); -static void ptransfer PROTOTYPE((char *, long, struct timeval *, struct timeval *)); -static void abort_remote PROTOTYPE((FILE *)); -static void tvsub PROTOTYPE((struct timeval *, struct timeval *, struct timeval *)); -static char *gunique PROTOTYPE((char *)); +static void proxtrans (char *, char *, char *); +static int initconn (void); +static void ptransfer (char *, long, struct timeval *, struct timeval *); +static void abort_remote (FILE *); +static void tvsub (struct timeval *, struct timeval *, struct timeval *); +static char *gunique (char *); struct sockaddr_in hisctladdr; struct sockaddr_in hisdataaddr; @@ -190,7 +190,7 @@ extern int connected; #define herror() printf("unknown host\n") FILE *cin, *cout; -FILE *dataconn PROTOTYPE((char *)); +FILE *dataconn (char *); char * hookup(host, port) |