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/signalpipe.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/signalpipe.c')
-rw-r--r-- | networking/udhcp/signalpipe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/udhcp/signalpipe.c b/networking/udhcp/signalpipe.c index 1486b3b2d..a025bd8b5 100644 --- a/networking/udhcp/signalpipe.c +++ b/networking/udhcp/signalpipe.c | |||
@@ -35,7 +35,7 @@ static void signal_handler(int sig) | |||
35 | 35 | ||
36 | /* Call this before doing anything else. Sets up the socket pair | 36 | /* Call this before doing anything else. Sets up the socket pair |
37 | * and installs the signal handler */ | 37 | * and installs the signal handler */ |
38 | void udhcp_sp_setup(void) | 38 | void FAST_FUNC udhcp_sp_setup(void) |
39 | { | 39 | { |
40 | /* was socketpair, but it needs AF_UNIX in kernel */ | 40 | /* was socketpair, but it needs AF_UNIX in kernel */ |
41 | xpiped_pair(signal_pipe); | 41 | xpiped_pair(signal_pipe); |
@@ -53,7 +53,7 @@ void udhcp_sp_setup(void) | |||
53 | /* Quick little function to setup the rfds. Will return the | 53 | /* Quick little function to setup the rfds. Will return the |
54 | * max_fd for use with select. Limited in that you can only pass | 54 | * max_fd for use with select. Limited in that you can only pass |
55 | * one extra fd */ | 55 | * one extra fd */ |
56 | int udhcp_sp_fd_set(fd_set *rfds, int extra_fd) | 56 | int FAST_FUNC udhcp_sp_fd_set(fd_set *rfds, int extra_fd) |
57 | { | 57 | { |
58 | FD_ZERO(rfds); | 58 | FD_ZERO(rfds); |
59 | FD_SET(signal_pipe.rd, rfds); | 59 | FD_SET(signal_pipe.rd, rfds); |
@@ -68,7 +68,7 @@ int udhcp_sp_fd_set(fd_set *rfds, int extra_fd) | |||
68 | /* Read a signal from the signal pipe. Returns 0 if there is | 68 | /* Read a signal from the signal pipe. Returns 0 if there is |
69 | * no signal, -1 on error (and sets errno appropriately), and | 69 | * no signal, -1 on error (and sets errno appropriately), and |
70 | * your signal on success */ | 70 | * your signal on success */ |
71 | int udhcp_sp_read(const fd_set *rfds) | 71 | int FAST_FUNC udhcp_sp_read(const fd_set *rfds) |
72 | { | 72 | { |
73 | unsigned char sig; | 73 | unsigned char sig; |
74 | 74 | ||