summaryrefslogtreecommitdiff
path: root/sbin/ping/ping.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-01-22 20:25:09 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-01-22 20:25:09 +0000
commit43f555732483fd1b60a70968b71d3a01ef7d446a (patch)
tree9ac7c483eb8edd88cdb16e5f49b4c235f85c0eba /sbin/ping/ping.c
parenta9e755d6a11ddb61c8eb50d4307c9611f1951a53 (diff)
remove extra externs not needed because of unistd.h (rest of tree will be done later.. contact me if you want to help)
Diffstat (limited to 'sbin/ping/ping.c')
-rw-r--r--sbin/ping/ping.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sbin/ping/ping.c b/sbin/ping/ping.c
index 689883e2d1f..d78cd887fe9 100644
--- a/sbin/ping/ping.c
+++ b/sbin/ping/ping.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ping.c,v 1.40 1999/10/12 18:10:16 hugh Exp $ */
+/* $OpenBSD: ping.c,v 1.41 2000/01/22 20:25:04 deraadt Exp $ */
/* $NetBSD: ping.c,v 1.20 1995/08/11 22:37:58 cgd Exp $ */
/*
@@ -47,7 +47,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)ping.c 8.1 (Berkeley) 6/5/93";
#else
-static char rcsid[] = "$OpenBSD: ping.c,v 1.40 1999/10/12 18:10:16 hugh Exp $";
+static char rcsid[] = "$OpenBSD: ping.c,v 1.41 2000/01/22 20:25:04 deraadt Exp $";
#endif
#endif /* not lint */
@@ -187,8 +187,6 @@ main(argc, argv)
int argc;
char **argv;
{
- extern int errno, optind;
- extern char *optarg;
struct timeval timeout;
struct hostent *hp;
struct sockaddr_in *to;