summaryrefslogtreecommitdiff
path: root/networking/libiproute/rtm_map.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-01-29 23:43:52 +0000
committerDenis Vlasenko2007-01-29 23:43:52 +0000
commit322661d025626d7a92482fec232d29f4450dd4b0 (patch)
tree66dcf2c776adea8556d2ebac5e3f7d8a27f05074 /networking/libiproute/rtm_map.c
parent89ef65f02463b27313ff0eba806aa6e4aec10716 (diff)
downloadbusybox-322661d025626d7a92482fec232d29f4450dd4b0.zip
busybox-322661d025626d7a92482fec232d29f4450dd4b0.tar.gz
preparatory patch for -Wwrite-strings #6
Diffstat (limited to 'networking/libiproute/rtm_map.c')
-rw-r--r--networking/libiproute/rtm_map.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/networking/libiproute/rtm_map.c b/networking/libiproute/rtm_map.c
index 7eb4c71..c16406b 100644
--- a/networking/libiproute/rtm_map.c
+++ b/networking/libiproute/rtm_map.c
@@ -13,11 +13,10 @@
#include <stdlib.h>
#include <string.h>
-
#include "rt_names.h"
#include "utils.h"
-char *rtnl_rtntype_n2a(int id, char *buf, int len)
+const char *rtnl_rtntype_n2a(int id, char *buf, int len)
{
switch (id) {
case RTN_UNSPEC: