diff options
author | jb <jb@FreeBSD.org> | 1997-12-20 04:06:06 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1997-12-20 04:06:06 +0000 |
commit | c8b0e5ec7be876d9163fb5d6077ea17a177aceeb (patch) | |
tree | b46860f3d7d5573d9beb1b44e7c62b838e410d1d /lib/libftpio/ftpio.h | |
parent | f4669f67bc8626da80c2d579536287ecf2591d0f (diff) | |
download | FreeBSD-src-c8b0e5ec7be876d9163fb5d6077ea17a177aceeb.zip FreeBSD-src-c8b0e5ec7be876d9163fb5d6077ea17a177aceeb.tar.gz |
Change errno usage as a field in a structure and as an argument to a
function from 'errno' to 'error' so that there is no conflict with the
thread-safe definition of errno in errno.h.
Diffstat (limited to 'lib/libftpio/ftpio.h')
-rw-r--r-- | lib/libftpio/ftpio.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libftpio/ftpio.h b/lib/libftpio/ftpio.h index 4dee7d9..41e7c1e 100644 --- a/lib/libftpio/ftpio.h +++ b/lib/libftpio/ftpio.h @@ -22,7 +22,7 @@ * Turned inside out. Now returns xfers as new file ids, not as a special * `state' of FTP_t * - * $Id: ftpio.h,v 1.12 1997/02/22 15:06:52 peter Exp $ + * $Id: ftpio.h,v 1.13 1997/05/05 11:18:55 jkh Exp $ */ /* Internal housekeeping data structure for FTP sessions */ @@ -32,7 +32,7 @@ typedef struct { int addrtype; char *host; char *file; - int errno; + int error; int is_binary; int is_passive; int is_verbose; @@ -62,7 +62,7 @@ extern void ftpVerbose(FILE *fp, int status); 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); +extern const char *ftpErrString(int error); __END_DECLS #endif /* _FTP_H_INCLUDE */ |