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