diff options
author | Denis Vlasenko | 2008-09-26 09:34:59 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-09-26 09:34:59 +0000 |
commit | f1980f67d3b005090a31b7465d219e8ca19c5736 (patch) | |
tree | 746646c47f2c42f4b94ced5cb89774406d3e8a24 /networking/udhcp/options.c | |
parent | cdb0b652ddd6bfbc4d83e21453b3b4137b887e18 (diff) | |
download | busybox-f1980f67d3b005090a31b7465d219e8ca19c5736.zip busybox-f1980f67d3b005090a31b7465d219e8ca19c5736.tar.gz |
dhcp: add FAST_FUNC as appropriate. -160 bytes.
Diffstat (limited to 'networking/udhcp/options.c')
-rw-r--r-- | networking/udhcp/options.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/networking/udhcp/options.c b/networking/udhcp/options.c index 12e5662..b6e77e3 100644 --- a/networking/udhcp/options.c +++ b/networking/udhcp/options.c @@ -118,7 +118,7 @@ const uint8_t dhcp_option_lengths[] ALIGN1 = { /* get an option with bounds checking (warning, not aligned). */ -uint8_t *get_option(struct dhcpMessage *packet, int code) +uint8_t* FAST_FUNC get_option(struct dhcpMessage *packet, int code) { int i, length; uint8_t *optionptr; @@ -175,7 +175,7 @@ uint8_t *get_option(struct dhcpMessage *packet, int code) /* return the position of the 'end' option (no bounds checking) */ -int end_option(uint8_t *optionptr) +int FAST_FUNC end_option(uint8_t *optionptr) { int i = 0; @@ -191,7 +191,7 @@ int end_option(uint8_t *optionptr) /* add an option string to the options (an option string contains an option code, * length, then data) */ -int add_option_string(uint8_t *optionptr, uint8_t *string) +int FAST_FUNC add_option_string(uint8_t *optionptr, uint8_t *string) { int end = end_option(optionptr); @@ -209,7 +209,7 @@ int add_option_string(uint8_t *optionptr, uint8_t *string) /* add a one to four byte option to a packet */ -int add_simple_option(uint8_t *optionptr, uint8_t code, uint32_t data) +int FAST_FUNC add_simple_option(uint8_t *optionptr, uint8_t code, uint32_t data) { const struct dhcp_option *dh; |