summaryrefslogtreecommitdiff
path: root/networking/ping.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-10-24 05:00:29 +0000
committerEric Andersen <andersen@codepoet.org>2001-10-24 05:00:29 +0000
commitbdfd0d78bc44e73d693510e70087857785b3b521 (patch)
tree153a573095afac8d8d0ea857759ecabd77fb28b7 /networking/ping.c
parent9260fc5552a3ee52eb95823aa6689d52a1ffd33c (diff)
downloadbusybox-w32-bdfd0d78bc44e73d693510e70087857785b3b521.tar.gz
busybox-w32-bdfd0d78bc44e73d693510e70087857785b3b521.tar.bz2
busybox-w32-bdfd0d78bc44e73d693510e70087857785b3b521.zip
Major rework of the directory structure and the entire build system.
-Erik
Diffstat (limited to 'networking/ping.c')
-rw-r--r--networking/ping.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/networking/ping.c b/networking/ping.c
index 5ca5dd9e0..476c15cea 100644
--- a/networking/ping.c
+++ b/networking/ping.c
@@ -1,6 +1,6 @@
1/* vi: set sw=4 ts=4: */ 1/* vi: set sw=4 ts=4: */
2/* 2/*
3 * $Id: ping.c,v 1.46 2001/07/17 01:12:36 andersen Exp $ 3 * $Id: ping.c,v 1.47 2001/10/24 04:59:56 andersen Exp $
4 * Mini ping implementation for busybox 4 * Mini ping implementation for busybox
5 * 5 *
6 * Copyright (C) 1999 by Randolph Chung <tausq@debian.org> 6 * Copyright (C) 1999 by Randolph Chung <tausq@debian.org>
@@ -174,7 +174,7 @@ static int in_cksum(unsigned short *buf, int sz)
174} 174}
175 175
176/* simple version */ 176/* simple version */
177#ifndef BB_FEATURE_FANCY_PING 177#ifndef CONFIG_FEATURE_FANCY_PING
178static char *hostname = NULL; 178static char *hostname = NULL;
179 179
180static void noresp(int ign) 180static void noresp(int ign)
@@ -247,7 +247,7 @@ extern int ping_main(int argc, char **argv)
247 return EXIT_SUCCESS; 247 return EXIT_SUCCESS;
248} 248}
249 249
250#else /* ! BB_FEATURE_FANCY_PING */ 250#else /* ! CONFIG_FEATURE_FANCY_PING */
251/* full(er) version */ 251/* full(er) version */
252static char *hostname = NULL; 252static char *hostname = NULL;
253static struct sockaddr_in pingaddr; 253static struct sockaddr_in pingaddr;
@@ -516,7 +516,7 @@ extern int ping_main(int argc, char **argv)
516 ping(*argv); 516 ping(*argv);
517 return EXIT_SUCCESS; 517 return EXIT_SUCCESS;
518} 518}
519#endif /* ! BB_FEATURE_FANCY_PING */ 519#endif /* ! CONFIG_FEATURE_FANCY_PING */
520 520
521/* 521/*
522 * Copyright (c) 1989 The Regents of the University of California. 522 * Copyright (c) 1989 The Regents of the University of California.