[PATCH] ping_pong: drop unecessary getopt include
Elia Pinto
gitter.spiros at gmail.com
Fri Feb 19 09:53:13 MST 2010
ping_pong use SUSv1 getopt(3) library function and no
the not portable getopt_log that requires the include
getopt.h. getopt is defined in unistd.h.
---
utils/ping_pong/ping_pong.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/utils/ping_pong/ping_pong.c b/utils/ping_pong/ping_pong.c
index 6061ee7..098dacd 100644
--- a/utils/ping_pong/ping_pong.c
+++ b/utils/ping_pong/ping_pong.c
@@ -37,9 +37,6 @@
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
-#ifndef _AIX
-#include <getopt.h>
-#endif
#include <sys/mman.h>
static struct timeval tp1,tp2;
--
1.6.6
More information about the samba-technical
mailing list