summaryrefslogtreecommitdiff
path: root/lib-src/pop.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-10-18 23:50:10 +0000
committerRichard M. Stallman <rms@gnu.org>1994-10-18 23:50:10 +0000
commitade08a8662c33f3d42534ea7cf026bf39c25a157 (patch)
treef9fd9ed4022ffeb6d26977f6048847da62db3be4 /lib-src/pop.c
parent92388222776de68e3557bd1deb596e5dc83466f1 (diff)
downloademacs-ade08a8662c33f3d42534ea7cf026bf39c25a157.tar.gz
Fix mismatch in conditionals.
Diffstat (limited to 'lib-src/pop.c')
-rw-r--r--lib-src/pop.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/lib-src/pop.c b/lib-src/pop.c
index 3acacaa8919..66b26907105 100644
--- a/lib-src/pop.c
+++ b/lib-src/pop.c
@@ -32,10 +32,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <netinet/in.h>
#include <sys/socket.h>
#include <pop.h>
+
#ifdef sun
#include <malloc.h>
#endif
-#endif
+
#ifdef HESIOD
#include <hesiod.h>
/*
@@ -46,10 +47,17 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
*/
extern struct servent *hes_getservbyname (/* char *, char * */);
#endif
+
#include <pwd.h>
#include <netdb.h>
#include <errno.h>
#include <stdio.h>
+
+extern char *getenv (/* char * */);
+extern char *getlogin (/* void */);
+extern char *getpass (/* char * */);
+extern char *strerror (/* int */);
+
#ifdef KERBEROS
#ifndef KRB5
#include <des.h>
@@ -60,12 +68,6 @@ extern struct servent *hes_getservbyname (/* char *, char * */);
#include <ctype.h>
#endif /* KRB5 */
-extern char *getenv (/* char * */);
-extern char *getlogin (/* void */);
-extern char *getpass (/* char * */);
-extern char *strerror (/* int */);
-
-#ifdef KERBEROS
extern int krb_sendauth (/* long, int, KTEXT, char *, char *, char *,
u_long, MSG_DAT *, CREDENTIALS *, Key_schedule,
struct sockaddr_in *, struct sockaddr_in *,