summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mtrace/mtrace.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2004-03-16 01:11:09 +0000
committertedu <tedu@openbsd.org>2004-03-16 01:11:09 +0000
commit53a76164d09dc46d2df2cd03d9d5f35353d2241b (patch)
tree85cc60a2c8fd4087a54b4eec75dd49d350674a32 /usr.sbin/mtrace/mtrace.c
parentPOSIX specifies that in directory mode device special files and (diff)
downloadwireguard-openbsd-53a76164d09dc46d2df2cd03d9d5f35353d2241b.tar.xz
wireguard-openbsd-53a76164d09dc46d2df2cd03d9d5f35353d2241b.zip
errno is not specified to be int, but something from errno.h. ok millert@
Diffstat (limited to 'usr.sbin/mtrace/mtrace.c')
-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);