summaryrefslogtreecommitdiff
path: root/usr.sbin/mtrace
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2004-03-16 01:11:10 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2004-03-16 01:11:10 +0000
commit923dcd6706e06e5d73c82258a99ae176f75a6804 (patch)
tree86d50af5a120a945a4631b83c9834f38fb448d92 /usr.sbin/mtrace
parent5158e01d42b380c30ab5e2d29d8b053c2e336cb2 (diff)
errno is not specified to be int, but something from errno.h. ok millert@
Diffstat (limited to 'usr.sbin/mtrace')
-rw-r--r--usr.sbin/mtrace/mtrace.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.sbin/mtrace/mtrace.c b/usr.sbin/mtrace/mtrace.c
index 092614c7820..c07e1bfce92 100644
--- a/usr.sbin/mtrace/mtrace.c
+++ b/usr.sbin/mtrace/mtrace.c
@@ -52,7 +52,7 @@
#ifndef lint
static char rcsid[] =
- "@(#) $Id: mtrace.c,v 1.22 2004/02/26 20:48:29 tedu Exp $";
+ "@(#) $Id: mtrace.c,v 1.23 2004/03/16 01:11:09 tedu Exp $";
#endif
#include <netdb.h>
@@ -132,10 +132,6 @@ u_int32_t tdst = 0; /* Address where trace is sent (last-hop) */
vifi_t numvifs; /* to keep loader happy */
/* (see kern.c) */
-#ifndef SYSV
-extern long random(void);
-#endif
-extern int errno;
char * inet_name(u_int32_t addr);
u_int32_t host_addr(char *name);