diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-29 22:51:25 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-29 22:51:25 +0000 |
commit | b6aae0f38194cd39960a898606ee65d4be93a895 (patch) | |
tree | b73c92aefaf614291a71d05e9d28ca68f4ef021b /networking/udhcp/socket.c | |
parent | a41fdf331af344ecd3ec230a072857ea197e1890 (diff) | |
download | busybox-w32-b6aae0f38194cd39960a898606ee65d4be93a895.tar.gz busybox-w32-b6aae0f38194cd39960a898606ee65d4be93a895.tar.bz2 busybox-w32-b6aae0f38194cd39960a898606ee65d4be93a895.zip |
preparatory patch for -Wwrite-strings #2
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 76ae7172d..d294fb259 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(char *interface, int *ifindex, uint32_t *addr, uint8_t *arp) | 40 | int 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; |
@@ -88,7 +88,7 @@ int read_interface(char *interface, int *ifindex, uint32_t *addr, uint8_t *arp) | |||
88 | } | 88 | } |
89 | 89 | ||
90 | 90 | ||
91 | int listen_socket(uint32_t ip, int port, char *inf) | 91 | int listen_socket(uint32_t ip, int port, const char *inf) |
92 | { | 92 | { |
93 | struct ifreq interface; | 93 | struct ifreq interface; |
94 | int fd; | 94 | int fd; |