diff options
author | Moritz Jodeit <moritz@cvs.openbsd.org> | 2006-03-17 14:43:07 +0000 |
---|---|---|
committer | Moritz Jodeit <moritz@cvs.openbsd.org> | 2006-03-17 14:43:07 +0000 |
commit | b678932bdb4b0fd73d046c7eb934809c2e3e605d (patch) | |
tree | 5466b01c4a9586066e4adb231293812efc59be2a /usr.bin/tip/hunt.c | |
parent | 6d052bb0ddd1b432e9e85fc458c8d131d179f76e (diff) |
big prototype cleanup:
o make more functions static
o add all the prototypes to tip.h
o consistently declare functions in the cmd table
testing and ok dhill@
Diffstat (limited to 'usr.bin/tip/hunt.c')
-rw-r--r-- | usr.bin/tip/hunt.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/tip/hunt.c b/usr.bin/tip/hunt.c index 4d102e3370a..8cc46d3022d 100644 --- a/usr.bin/tip/hunt.c +++ b/usr.bin/tip/hunt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hunt.c,v 1.11 2006/03/16 19:32:46 deraadt Exp $ */ +/* $OpenBSD: hunt.c,v 1.12 2006/03/17 14:43:06 moritz Exp $ */ /* $NetBSD: hunt.c,v 1.6 1997/04/20 00:02:10 mellon Exp $ */ /* @@ -34,17 +34,17 @@ #if 0 static char sccsid[] = "@(#)hunt.c 8.1 (Berkeley) 6/6/93"; #endif -static const char rcsid[] = "$OpenBSD: hunt.c,v 1.11 2006/03/16 19:32:46 deraadt Exp $"; +static const char rcsid[] = "$OpenBSD: hunt.c,v 1.12 2006/03/17 14:43:06 moritz Exp $"; #endif /* not lint */ #include "tip.h" -extern char *getremote(char *); - static jmp_buf deadline; static int deadfl; -void +static void dead(int); + +static void dead(int signo) { deadfl = 1; |