remove sys/select.h. make signal handlers type-correct and static

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8725 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2000-07-20 22:37:45 +00:00
parent 5d5d840adb
commit 8687021cc9

View File

@@ -32,7 +32,6 @@
*/ */
#include "kadmin_locl.h" #include "kadmin_locl.h"
#include <sys/select.h>
RCSID("$Id$"); RCSID("$Id$");
@@ -91,16 +90,18 @@ parse_ports(krb5_context context, const char *str)
static pid_t pgrp; static pid_t pgrp;
int term_flag; int term_flag;
void static RETSIGTYPE
wait_term(int sig) wait_term(int sig)
{ {
term_flag = 1; term_flag = 1;
SIGRETURN(0);
} }
void static RETSIGTYPE
terminate(int sig) terminate(int sig)
{ {
killpg(pgrp, sig); killpg(pgrp, sig);
SIGRETURN(0);
} }
static int static int