summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-02-10 15:43:59 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-02-10 15:43:59 -0800
commit15078382e0325b29af4eeb6ec267ad3a8eeaa8b5 (patch)
tree7ed686be807c3cce93be58daaf49169a94a21b04
parent6fc2e7182a81d3665e5233a6555fc6c1960b6b8a (diff)
downloadnetcat-15078382e0325b29af4eeb6ec267ad3a8eeaa8b5.tar.gz
auto import from //branches/cupcake/...@130745
-rw-r--r--netcat.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/netcat.c b/netcat.c
index 6c67718..e6b8a1b 100644
--- a/netcat.c
+++ b/netcat.c
@@ -30,10 +30,14 @@
/* conditional includes -- a very messy section which you may have to dink
for your own architecture [and please send diffs...]: */
-/* #undef _POSIX_SOURCE /* might need this for something? */
+#if 0
+#undef _POSIX_SOURCE /* might need this for something? */
+#endif
#define HAVE_BIND /* ASSUMPTION -- seems to work everywhere! */
#define HAVE_HELP /* undefine if you dont want the help text */
-/* #define ANAL /* if you want case-sensitive DNS matching */
+#if 0
+#define ANAL /* if you want case-sensitive DNS matching */
+#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
@@ -1631,6 +1635,7 @@ Debug (("netfd %d from port %d to port %d", netfd, ourport, curport))
#ifdef HAVE_HELP /* unless we wanna be *really* cryptic */
/* helpme :
the obvious */
+void
helpme()
{
o_verbose = 1;