projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stty: simplify linewrapping code a bit
[oweals/busybox.git]
/
networking
/
udhcp
/
common.h
diff --git
a/networking/udhcp/common.h
b/networking/udhcp/common.h
index 77e689446110260a7c174c6a0a58447837298216..d5291f2f3ac3b418cd121c1b05d9581a9d0b8dd3 100644
(file)
--- a/
networking/udhcp/common.h
+++ b/
networking/udhcp/common.h
@@
-1,3
+1,4
@@
+/* vi: set sw=4 ts=4: */
/* common.h
*
* Russ Dill <Russ.Dill@asu.edu> September 2001
/* common.h
*
* Russ Dill <Russ.Dill@asu.edu> September 2001
@@
-11,26
+12,12
@@
#include "libbb_udhcp.h"
#include "libbb_udhcp.h"
-
-enum syslog_levels {
- LOG_EMERG = 0,
- LOG_ALERT,
- LOG_CRIT,
- LOG_WARNING,
- LOG_ERR,
- LOG_INFO,
- LOG_DEBUG
-};
-#include <syslog.h>
-
long uptime(void);
long uptime(void);
-#define LOG(level, str, args...) udhcp_logging(level, str, ## args)
-
#if ENABLE_FEATURE_UDHCP_DEBUG
#if ENABLE_FEATURE_UDHCP_DEBUG
-# define DEBUG(
level, str, args...) LOG(level,
str, ## args)
+# define DEBUG(
str, args...) bb_info_msg(
str, ## args)
#else
#else
-# define DEBUG(
level,
str, args...) do {;} while(0)
+# define DEBUG(str, args...) do {;} while(0)
#endif
#endif
#endif
#endif