rid of some warnings

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@244 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1996-02-10 20:01:06 +00:00
parent 212e5c0b5c
commit 149f7f0cf7

View File

@@ -9,6 +9,10 @@ static char copyright[] = "Copyright (c) 1990 Regents of the University of Calif
static char SccsId[] = "@(#)@(#)popper.c 2.1 2.1 3/18/91"; static char SccsId[] = "@(#)@(#)popper.c 2.1 2.1 3/18/91";
#endif /* not lint */ #endif /* not lint */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif /* HAVE_CONFIG_H */
#include <stdio.h> #include <stdio.h>
#include <sys/types.h> #include <sys/types.h>
#include <signal.h> #include <signal.h>
@@ -19,14 +23,14 @@ extern state_table * pop_get_command();
int hangup = FALSE ; int hangup = FALSE ;
static int static RETSIGTYPE
catchSIGHUP() catchSIGHUP()
{ {
hangup = TRUE ; hangup = TRUE ;
/* This should not be a problem on BSD systems */ /* This should not be a problem on BSD systems */
signal(SIGHUP, (void *)catchSIGHUP); signal(SIGHUP, catchSIGHUP);
signal(SIGPIPE, (void *)catchSIGHUP); signal(SIGPIPE, catchSIGHUP);
} }
int pop_timeout = POP_TIMEOUT; int pop_timeout = POP_TIMEOUT;