Fixed to pass -Wundef
This commit is contained in:
parent
259972e565
commit
616d13bcd1
@ -96,7 +96,7 @@ extern _IO_ssize_t getline __P ((char **, size_t *, FILE *));
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#if defined HAVE_LIMITS_H || _LIBC
|
#if defined HAVE_LIMITS_H || defined _LIBC
|
||||||
# include <limits.h>
|
# include <limits.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
2
md5sum.c
2
md5sum.c
@ -96,7 +96,7 @@ extern _IO_ssize_t getline __P ((char **, size_t *, FILE *));
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#if defined HAVE_LIMITS_H || _LIBC
|
#if defined HAVE_LIMITS_H || defined _LIBC
|
||||||
# include <limits.h>
|
# include <limits.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@
|
|||||||
#define DOTRACE 1
|
#define DOTRACE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if DOTRACE
|
#ifdef DOTRACE
|
||||||
#include <arpa/inet.h> /* for inet_ntoa()... */
|
#include <arpa/inet.h> /* for inet_ntoa()... */
|
||||||
#define TRACE(x, y) do { if (x) printf y; } while (0)
|
#define TRACE(x, y) do { if (x) printf y; } while (0)
|
||||||
#else
|
#else
|
||||||
|
2
telnet.c
2
telnet.c
@ -49,7 +49,7 @@
|
|||||||
#define DOTRACE 1
|
#define DOTRACE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if DOTRACE
|
#ifdef DOTRACE
|
||||||
#include <arpa/inet.h> /* for inet_ntoa()... */
|
#include <arpa/inet.h> /* for inet_ntoa()... */
|
||||||
#define TRACE(x, y) do { if (x) printf y; } while (0)
|
#define TRACE(x, y) do { if (x) printf y; } while (0)
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user