diff options
author | Glenn L McGrath | 2002-08-23 14:36:59 +0000 |
---|---|---|
committer | Glenn L McGrath | 2002-08-23 14:36:59 +0000 |
commit | 192ff35d9c068d105d350d9e9e822ff0db520646 (patch) | |
tree | 4141f63ba3b25b9877b306a08442f79b57994c43 /networking | |
parent | 0be933b5057d33e61aa8b1e3806666765b621f2f (diff) | |
download | busybox-192ff35d9c068d105d350d9e9e822ff0db520646.zip busybox-192ff35d9c068d105d350d9e9e822ff0db520646.tar.gz |
Remove empty loops
Diffstat (limited to 'networking')
-rw-r--r-- | networking/udhcpc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/networking/udhcpc.c b/networking/udhcpc.c index 01e6f5e..55b73b6 100644 --- a/networking/udhcpc.c +++ b/networking/udhcpc.c @@ -168,7 +168,7 @@ enum { printf("\n"); \ syslog(level, str, ## args); } while(0) # define OPEN_LOG(name) openlog(name, 0, 0) -#define CLOSE_LOG() closelog() +# define CLOSE_LOG() closelog() #else # define LOG_EMERG "EMERGENCY!" # define LOG_ALERT "ALERT!" @@ -178,8 +178,8 @@ enum { # define LOG_INFO "info" # define LOG_DEBUG "debug" # define LOG(level, str, args...) do { printf("%s, " str "\n", level, ## args); } while(0) -# define OPEN_LOG(name) do {;} while(0) -#define CLOSE_LOG() do {;} while(0) +# define OPEN_LOG(name) +# define CLOSE_LOG() #endif #ifdef DEBUG @@ -187,7 +187,7 @@ enum { # define DEBUG(level, str, args...) LOG(level, str, ## args) # define DEBUGGING #else -# define DEBUG(level, str, args...) do {;} while(0) +# define DEBUG(level, str, args...) #endif struct dhcpMessage { |