commit | 322661d025626d7a92482fec232d29f4450dd4b0 | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Mon Jan 29 23:43:52 2007 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Mon Jan 29 23:43:52 2007 +0000 |
tree | 66dcf2c776adea8556d2ebac5e3f7d8a27f05074 | |
parent | 89ef65f02463b27313ff0eba806aa6e4aec10716 [diff] [blame] |
preparatory patch for -Wwrite-strings #6
diff --git a/networking/libiproute/rtm_map.h b/networking/libiproute/rtm_map.h index b9c8c50..cbbcc21 100644 --- a/networking/libiproute/rtm_map.h +++ b/networking/libiproute/rtm_map.h
@@ -2,7 +2,7 @@ #ifndef __RTM_MAP_H__ #define __RTM_MAP_H__ 1 -char *rtnl_rtntype_n2a(int id, char *buf, int len); +const char *rtnl_rtntype_n2a(int id, char *buf, int len); int rtnl_rtntype_a2n(int *id, char *arg); int get_rt_realms(uint32_t *realms, char *arg);