From c325bc190633349e806d0f2c313ace2338950f88 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Fri, 18 Jun 2004 20:16:42 +0000 Subject: Compiler warnings fixes, preprocessor and minor general cleanup. svn path=/trunk/; revision=3901 --- fetchmail.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'fetchmail.h') 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 */ -- cgit v1.2.3