aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-08-02 22:31:05 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-08-02 22:31:05 +0000
commit80edead5ea731c0c144def4d249eb88fb16001ef (patch)
tree1aca5341f9b412edd03f9edf32ea5f649a2bf242 /include
parentc01af95c398b21203cd991917101e29b21821284 (diff)
downloadbusybox-w32-80edead5ea731c0c144def4d249eb88fb16001ef.tar.gz
busybox-w32-80edead5ea731c0c144def4d249eb88fb16001ef.tar.bz2
busybox-w32-80edead5ea731c0c144def4d249eb88fb16001ef.zip
udhcp: slight shrink
udhcpd_main 1171 1208 +37 udhcpc_main 2363 2387 +24 dhcprelay_main 1145 1146 +1 dhcprelay_stopflag 4 1 -3 dhcprelay_signal_handler 11 8 -3 client_background 46 42 -4 udhcp_read_interface 230 211 -19 udhcp_make_pidfile 76 - -76 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 3/4 up/down: 62/-105) Total: -43 bytes text data bss dec hex filename 770052 1096 11228 782376 bf028 busybox_old 769980 1096 11228 782304 befe0 busybox_unstripped
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 1cbcb41e4..13bd2d688 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -619,8 +619,8 @@ llist_t *llist_rev(llist_t *list);
619 * llist_t *llist_add_to(llist_t *old_head, void *data) 619 * llist_t *llist_add_to(llist_t *old_head, void *data)
620 * etc does not result in smaller code... */ 620 * etc does not result in smaller code... */
621 621
622/* start_stop_daemon and (udhcpc with ifupdown) are special - they want to 622/* start_stop_daemon and udhcpc are special - they want
623 * create pidfiles regardless of FEATURE_PIDFILE. */ 623 * to create pidfiles regardless of FEATURE_PIDFILE */
624#if ENABLE_FEATURE_PIDFILE || defined(WANT_PIDFILE) 624#if ENABLE_FEATURE_PIDFILE || defined(WANT_PIDFILE)
625int write_pidfile(const char *path); 625int write_pidfile(const char *path);
626#define remove_pidfile(f) ((void)unlink(f)) 626#define remove_pidfile(f) ((void)unlink(f))