summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Roskin2000-07-28 19:38:27 +0000
committerPavel Roskin2000-07-28 19:38:27 +0000
commit616d13bcd1a431eb21d1d3e48b17be6c26443c1d (patch)
treebc2a919eebf8f99bcce3c2d07d6e5a74393d4ce8
parent259972e5657847313077dfd2ab8e84f065a82811 (diff)
downloadbusybox-616d13bcd1a431eb21d1d3e48b17be6c26443c1d.zip
busybox-616d13bcd1a431eb21d1d3e48b17be6c26443c1d.tar.gz
Fixed to pass -Wundef
-rw-r--r--coreutils/md5sum.c2
-rw-r--r--md5sum.c2
-rw-r--r--networking/telnet.c2
-rw-r--r--telnet.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/coreutils/md5sum.c b/coreutils/md5sum.c
index fad563f..a791a41 100644
--- a/coreutils/md5sum.c
+++ b/coreutils/md5sum.c
@@ -96,7 +96,7 @@ extern _IO_ssize_t getline __P ((char **, size_t *, FILE *));
#include <stdio.h>
-#if defined HAVE_LIMITS_H || _LIBC
+#if defined HAVE_LIMITS_H || defined _LIBC
# include <limits.h>
#endif
diff --git a/md5sum.c b/md5sum.c
index fad563f..a791a41 100644
--- a/md5sum.c
+++ b/md5sum.c
@@ -96,7 +96,7 @@ extern _IO_ssize_t getline __P ((char **, size_t *, FILE *));
#include <stdio.h>
-#if defined HAVE_LIMITS_H || _LIBC
+#if defined HAVE_LIMITS_H || defined _LIBC
# include <limits.h>
#endif
diff --git a/networking/telnet.c b/networking/telnet.c
index 3e43c4a..40cf7a1 100644
--- a/networking/telnet.c
+++ b/networking/telnet.c
@@ -49,7 +49,7 @@
#define DOTRACE 1
#endif
-#if DOTRACE
+#ifdef DOTRACE
#include <arpa/inet.h> /* for inet_ntoa()... */
#define TRACE(x, y) do { if (x) printf y; } while (0)
#else
diff --git a/telnet.c b/telnet.c
index 3e43c4a..40cf7a1 100644
--- a/telnet.c
+++ b/telnet.c
@@ -49,7 +49,7 @@
#define DOTRACE 1
#endif
-#if DOTRACE
+#ifdef DOTRACE
#include <arpa/inet.h> /* for inet_ntoa()... */
#define TRACE(x, y) do { if (x) printf y; } while (0)
#else