summaryrefslogtreecommitdiff
path: root/networking/udhcp/socket.c
diff options
context:
space:
mode:
authorDenis Vlasenko2008-09-26 09:34:59 +0000
committerDenis Vlasenko2008-09-26 09:34:59 +0000
commitf1980f67d3b005090a31b7465d219e8ca19c5736 (patch)
tree746646c47f2c42f4b94ced5cb89774406d3e8a24 /networking/udhcp/socket.c
parentcdb0b652ddd6bfbc4d83e21453b3b4137b887e18 (diff)
downloadbusybox-f1980f67d3b005090a31b7465d219e8ca19c5736.zip
busybox-f1980f67d3b005090a31b7465d219e8ca19c5736.tar.gz
dhcp: add FAST_FUNC as appropriate. -160 bytes.
Diffstat (limited to 'networking/udhcp/socket.c')
-rw-r--r--networking/udhcp/socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/udhcp/socket.c b/networking/udhcp/socket.c
index 2cbd4aa..2d27251 100644
--- a/networking/udhcp/socket.c
+++ b/networking/udhcp/socket.c
@@ -37,7 +37,7 @@
#include "common.h"
-int read_interface(const char *interface, int *ifindex, uint32_t *addr, uint8_t *arp)
+int FAST_FUNC udhcp_read_interface(const char *interface, int *ifindex, uint32_t *addr, uint8_t *arp)
{
int fd;
struct ifreq ifr;
@@ -85,7 +85,7 @@ int read_interface(const char *interface, int *ifindex, uint32_t *addr, uint8_t
/* 1. None of the callers expects it to ever fail */
/* 2. ip was always INADDR_ANY */
-int listen_socket(/*uint32_t ip,*/ int port, const char *inf)
+int FAST_FUNC udhcp_listen_socket(/*uint32_t ip,*/ int port, const char *inf)
{
int fd;
struct ifreq interface;