diff options
Diffstat (limited to 'eBones/usr.bin/register')
-rw-r--r-- | eBones/usr.bin/register/Makefile | 5 | ||||
-rw-r--r-- | eBones/usr.bin/register/register.c | 7 |
2 files changed, 6 insertions, 6 deletions
diff --git a/eBones/usr.bin/register/Makefile b/eBones/usr.bin/register/Makefile index 140b5644aa3e..82a411cfc31a 100644 --- a/eBones/usr.bin/register/Makefile +++ b/eBones/usr.bin/register/Makefile @@ -1,11 +1,10 @@ # @(#)Makefile 8.1 (Berkeley) 6/1/93 -# $Id: Makefile,v 1.6 1995/09/07 20:54:18 mark Exp $ +# $Id: Makefile,v 1.4 1995/09/13 17:24:14 markm Exp $ PROG= register -CFLAGS+=-DCRYPT -DDEBUG -DKERBEROS -I${.CURDIR}/../../include -Wall +CFLAGS+=-DCRYPT -DDEBUG -DKERBEROS DPADD= ${LIBKRB} ${LIBDES} ${LIBCRYPT} LDADD= -lkrb -ldes -lcrypt -BINDIR= /usr/bin BINOWN= root BINMODE=4555 diff --git a/eBones/usr.bin/register/register.c b/eBones/usr.bin/register/register.c index 4f083a7a730f..7050cca1284b 100644 --- a/eBones/usr.bin/register/register.c +++ b/eBones/usr.bin/register/register.c @@ -62,7 +62,7 @@ static char sccsid[] = "@(#)register.c 8.1 (Berkeley) 6/1/93"; #define SERVICE "krbupdate" /* service to add to KDC's database */ #define PROTOCOL "tcp" -void die(void); +void die(int); void type_info(void); void setup_key(struct sockaddr_in local); void cleanup(void); @@ -88,7 +88,7 @@ main(argc, argv) u_char code; static struct rlimit rl = { 0, 0 }; - signal(SIGPIPE, (__sighandler_t *)die); + signal(SIGPIPE, die); if (setrlimit(RLIMIT_CORE, &rl) < 0) { perror("rlimit"); @@ -306,7 +306,8 @@ type_info() } void -die() +die(sig) + int sig; { fprintf(stderr, "\nServer no longer listening\n"); fflush(stderr); |