aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-03-03 09:25:59 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-03-03 09:25:59 +0000
commite2f7030202bac42e7f08309ba71e370fba714623 (patch)
tree2875013012b11f0970b58ae184e929cba75fb63c /lib/urldata.h
parent533519cc9ccda476ba99cd3e97f82e75a4847a7f (diff)
rename struct FILE to FILEPROTO, to prevent it from causing trouble with
the plain old FILE typedef.
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 821a0c37e..85d9fca2e 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -267,7 +267,7 @@ struct FTP {
/****************************************************************************
* FILE unique setup
***************************************************************************/
-struct FILE {
+struct FILEPROTO {
int fd; /* open file descriptor to read from! */
};
@@ -539,7 +539,7 @@ struct connectdata {
struct HTTP *gopher; /* alias, just for the sake of being more readable */
struct HTTP *https; /* alias, just for the sake of being more readable */
struct FTP *ftp;
- struct FILE *file;
+ struct FILEPROTO *file;
void *telnet; /* private for telnet.c-eyes only */
#if 0 /* no need for special ones for these: */
struct LDAP *ldap;