diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/appl/gssftp/ftp/ChangeLog | 8 | ||||
| -rw-r--r-- | src/appl/gssftp/ftp/ftp_var.h | 4 | ||||
| -rw-r--r-- | src/appl/gssftp/ftp/secure.h | 2 |
3 files changed, 13 insertions, 1 deletions
diff --git a/src/appl/gssftp/ftp/ChangeLog b/src/appl/gssftp/ftp/ChangeLog index b23f1d4a9..7c915b1a7 100644 --- a/src/appl/gssftp/ftp/ChangeLog +++ b/src/appl/gssftp/ftp/ChangeLog @@ -1,3 +1,11 @@ +2001-04-27 Ezra Peisach <epeisach@mit.edu> + + * ftp_var.h: Prototype for recvrequest() needs volatile + declaration to match code. Native Dec Alpha compiler errors on the + inconsistancy. + + * secure.h (PROTOTYPE): Only define if not defined already. + 2001-04-26 Ken Raeburn <raeburn@mit.edu> * ftp_var.h (PROTOTYPE): Always define to use supplied prototype. diff --git a/src/appl/gssftp/ftp/ftp_var.h b/src/appl/gssftp/ftp/ftp_var.h index 7bdc51f07..67b187c01 100644 --- a/src/appl/gssftp/ftp/ftp_var.h +++ b/src/appl/gssftp/ftp/ftp_var.h @@ -141,7 +141,9 @@ extern char *mktemp(); extern int command(char *, ...); #endif +#ifndef PROTOTYPE #define PROTOTYPE(x) x +#endif char *remglob PROTOTYPE((char **, int)); int another PROTOTYPE((int *, char ***, char *)); @@ -217,7 +219,7 @@ void setpassive PROTOTYPE((void)); /* ftp.c */ void sendrequest PROTOTYPE((char *, char *, char *, int)); -void recvrequest PROTOTYPE((char *, char *, char *, char *, int)); +void recvrequest PROTOTYPE((char *, char *volatile, char *, char *, int)); int login PROTOTYPE((char *)); void setpbsz PROTOTYPE((unsigned int)); void pswitch PROTOTYPE((int)); diff --git a/src/appl/gssftp/ftp/secure.h b/src/appl/gssftp/ftp/secure.h index 6a4ee4c99..8a2a519f4 100644 --- a/src/appl/gssftp/ftp/secure.h +++ b/src/appl/gssftp/ftp/secure.h @@ -5,7 +5,9 @@ #define myaddr data_addr #define hisaddr hisdataaddr +#ifndef PROTOTYPE #define PROTOTYPE(x) x +#endif int secure_flush PROTOTYPE((int)); int secure_putc PROTOTYPE((int, FILE *)); |
