+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.
extern int command(char *, ...);
#endif
+#ifndef PROTOTYPE
#define PROTOTYPE(x) x
+#endif
char *remglob PROTOTYPE((char **, int));
int another PROTOTYPE((int *, char ***, char *));
/* 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));
#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 *));