diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-09-26 09:34:59 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-09-26 09:34:59 +0000 |
commit | f1980f67d3b005090a31b7465d219e8ca19c5736 (patch) | |
tree | 746646c47f2c42f4b94ced5cb89774406d3e8a24 /networking/udhcp/socket.c | |
parent | cdb0b652ddd6bfbc4d83e21453b3b4137b887e18 (diff) | |
download | busybox-w32-f1980f67d3b005090a31b7465d219e8ca19c5736.tar.gz busybox-w32-f1980f67d3b005090a31b7465d219e8ca19c5736.tar.bz2 busybox-w32-f1980f67d3b005090a31b7465d219e8ca19c5736.zip |
dhcp: add FAST_FUNC as appropriate. -160 bytes.
Diffstat (limited to 'networking/udhcp/socket.c')
-rw-r--r-- | networking/udhcp/socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/udhcp/socket.c b/networking/udhcp/socket.c index 2cbd4aa88..2d272510d 100644 --- a/networking/udhcp/socket.c +++ b/networking/udhcp/socket.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include "common.h" | 37 | #include "common.h" |
38 | 38 | ||
39 | 39 | ||
40 | int read_interface(const char *interface, int *ifindex, uint32_t *addr, uint8_t *arp) | 40 | int FAST_FUNC udhcp_read_interface(const char *interface, int *ifindex, uint32_t *addr, uint8_t *arp) |
41 | { | 41 | { |
42 | int fd; | 42 | int fd; |
43 | struct ifreq ifr; | 43 | struct ifreq ifr; |
@@ -85,7 +85,7 @@ int read_interface(const char *interface, int *ifindex, uint32_t *addr, uint8_t | |||
85 | 85 | ||
86 | /* 1. None of the callers expects it to ever fail */ | 86 | /* 1. None of the callers expects it to ever fail */ |
87 | /* 2. ip was always INADDR_ANY */ | 87 | /* 2. ip was always INADDR_ANY */ |
88 | int listen_socket(/*uint32_t ip,*/ int port, const char *inf) | 88 | int FAST_FUNC udhcp_listen_socket(/*uint32_t ip,*/ int port, const char *inf) |
89 | { | 89 | { |
90 | int fd; | 90 | int fd; |
91 | struct ifreq interface; | 91 | struct ifreq interface; |