diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2004-06-18 20:16:42 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2004-06-18 20:16:42 +0000 |
commit | c325bc190633349e806d0f2c313ace2338950f88 (patch) | |
tree | 69ef866dee66bd1548e19f58faa513c460242bf7 /fetchmail.h | |
parent | 5ffe6f98f8ba802ccd973724702a2d44757c4291 (diff) | |
download | fetchmail-c325bc190633349e806d0f2c313ace2338950f88.tar.gz fetchmail-c325bc190633349e806d0f2c313ace2338950f88.tar.bz2 fetchmail-c325bc190633349e806d0f2c313ace2338950f88.zip |
Compiler warnings fixes, preprocessor and minor general cleanup.
svn path=/trunk/; revision=3901
Diffstat (limited to 'fetchmail.h')
-rw-r--r-- | fetchmail.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/fetchmail.h b/fetchmail.h index c9d273ea..146b1712 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -32,7 +32,7 @@ #define P_ETRN 7 #define P_ODMR 8 -#if INET6_ENABLE +#ifdef INET6_ENABLE #define SMTP_PORT "smtp" #define KPOP_PORT "kpop" #else /* INET6_ENABLE */ @@ -179,7 +179,7 @@ struct query; struct method /* describe methods for protocol state machine */ { const char *name; /* protocol name */ -#if INET6_ENABLE +#ifdef INET6_ENABLE const char *service; const char *sslservice; #else /* INET6_ENABLE */ @@ -223,7 +223,7 @@ struct hostdata /* shared among all user connections to given server */ struct idlist *akalist; /* server name first, then akas */ struct idlist *localdomains; /* list of pass-through domains */ int protocol; /* protocol type */ -#if INET6_ENABLE +#ifdef INET6_ENABLE char *service; /* IPv6 service name */ void *netsec; /* IPv6 security request */ #else /* INET6_ENABLE */ @@ -692,4 +692,7 @@ char *strerror (int); #define ROOT_UID 0 #endif /* __CYGWIN__ */ +extern int mailserver_socket_temp; +extern char *program_name; + /* fetchmail.h ends here */ |