diff options
-rw-r--r-- | lib/libftpio/ftpio.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libftpio/ftpio.h b/lib/libftpio/ftpio.h index 4307f3e..4dee7d9 100644 --- a/lib/libftpio/ftpio.h +++ b/lib/libftpio/ftpio.h @@ -2,6 +2,7 @@ #define _FTP_H_INCLUDE #include <sys/types.h> +#include <sys/cdefs.h> #include <stdio.h> #include <time.h> @@ -21,7 +22,7 @@ * Turned inside out. Now returns xfers as new file ids, not as a special * `state' of FTP_t * - * $Id$ + * $Id: ftpio.h,v 1.12 1997/02/22 15:06:52 peter Exp $ */ /* Internal housekeeping data structure for FTP sessions */ @@ -42,6 +43,8 @@ struct ftperr { const int num; const char *string; }; + +__BEGIN_DECLS extern struct ftperr ftpErrList[]; extern int const ftpErrListLength; @@ -60,5 +63,6 @@ extern FILE *ftpGetURL(char *url, char *user, char *passwd, int *retcode); extern FILE *ftpPutURL(char *url, char *user, char *passwd, int *retcode); extern time_t ftpGetModtime(FILE *fp, char *s); extern const char *ftpErrString(int errno); +__END_DECLS #endif /* _FTP_H_INCLUDE */ |