From 7e45176d26ca0bbd4a693f35962297a7d0aef10a Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Mon, 5 May 1997 11:18:55 +0000 Subject: [PATCH] Make this C++ safe. Submitted by: Nadav Eiron --- lib/libftpio/ftpio.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/libftpio/ftpio.h b/lib/libftpio/ftpio.h index 4307f3e1357..4dee7d95ec5 100644 --- a/lib/libftpio/ftpio.h +++ b/lib/libftpio/ftpio.h @@ -2,6 +2,7 @@ #define _FTP_H_INCLUDE #include +#include #include #include @@ -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 */