diff options
author | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2005-09-22 15:07:33 +0000 |
---|---|---|
committer | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2005-09-22 15:07:33 +0000 |
commit | 2f9c30a2d567ba7bdb6351e0167eb0b59735b898 (patch) | |
tree | e811a2285654327b344c1fb242683acb2782f2b8 /networking/udhcp/common.h | |
parent | ac9731704a03d08b061ee02853e7cebe36964aba (diff) | |
download | busybox-w32-2f9c30a2d567ba7bdb6351e0167eb0b59735b898.tar.gz busybox-w32-2f9c30a2d567ba7bdb6351e0167eb0b59735b898.tar.bz2 busybox-w32-2f9c30a2d567ba7bdb6351e0167eb0b59735b898.zip |
safe exported namespace for udhcp. Not full, bore :-(
Diffstat (limited to 'networking/udhcp/common.h')
-rw-r--r-- | networking/udhcp/common.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/networking/udhcp/common.h b/networking/udhcp/common.h index ca19a2497..e474f5e97 100644 --- a/networking/udhcp/common.h +++ b/networking/udhcp/common.h | |||
@@ -39,10 +39,12 @@ enum syslog_levels { | |||
39 | #include <syslog.h> | 39 | #include <syslog.h> |
40 | #endif | 40 | #endif |
41 | 41 | ||
42 | #define background udhcp_background | ||
43 | #define start_log_and_pid udhcp_start_log_and_pid | ||
44 | |||
42 | long uptime(void); | 45 | long uptime(void); |
43 | void background(const char *pidfile); | 46 | void background(const char *pidfile); |
44 | void start_log_and_pid(const char *client_server, const char *pidfile); | 47 | void start_log_and_pid(const char *client_server, const char *pidfile); |
45 | void background(const char *pidfile); | ||
46 | void udhcp_logging(int level, const char *fmt, ...); | 48 | void udhcp_logging(int level, const char *fmt, ...); |
47 | 49 | ||
48 | #define LOG(level, str, args...) udhcp_logging(level, str, ## args) | 50 | #define LOG(level, str, args...) udhcp_logging(level, str, ## args) |