diff options
author | Denis Vlasenko | 2007-01-30 00:44:41 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-01-30 00:44:41 +0000 |
commit | 27a131e08e97acc2371421ddab9cf9372acffbb3 (patch) | |
tree | 499676f36c1bd490eceb1c127d670f1c2c4f3051 /networking/libiproute/rt_names.h | |
parent | eb10e17b7bfdfe68a2357589ca11956386b0925d (diff) | |
download | busybox-27a131e08e97acc2371421ddab9cf9372acffbb3.zip busybox-27a131e08e97acc2371421ddab9cf9372acffbb3.tar.gz |
preparatory patch for -Wwrite-strings #8 (missed part)
Diffstat (limited to 'networking/libiproute/rt_names.h')
-rw-r--r-- | networking/libiproute/rt_names.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/networking/libiproute/rt_names.h b/networking/libiproute/rt_names.h index 92b807f..98c22b0 100644 --- a/networking/libiproute/rt_names.h +++ b/networking/libiproute/rt_names.h @@ -16,14 +16,13 @@ extern int rtnl_dsfield_a2n(uint32_t *id, char *arg); extern int rtnl_rttable_a2n(uint32_t *id, char *arg); -extern const char * ll_type_n2a(int type, char *buf, int len); +extern const char* ll_type_n2a(int type, char *buf, int len); -extern const char *ll_addr_n2a(unsigned char *addr, int alen, int type, +extern const char* ll_addr_n2a(unsigned char *addr, int alen, int type, char *buf, int blen); extern int ll_addr_a2n(unsigned char *lladdr, int len, char *arg); -extern const char * ll_proto_n2a(unsigned short id, char *buf, int len); +extern const char* ll_proto_n2a(unsigned short id, char *buf, int len); extern int ll_proto_a2n(unsigned short *id, char *buf); - #endif |