aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/signalpipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp/signalpipe.c')
-rw-r--r--networking/udhcp/signalpipe.c6
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 */
38void udhcp_sp_setup(void) 38void 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 */
56int udhcp_sp_fd_set(fd_set *rfds, int extra_fd) 56int 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 */
71int udhcp_sp_read(const fd_set *rfds) 71int FAST_FUNC udhcp_sp_read(const fd_set *rfds)
72{ 72{
73 unsigned char sig; 73 unsigned char sig;
74 74