summaryrefslogtreecommitdiffstats
path: root/include/net/snmp.h
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2010-01-22 11:17:26 +0100
committerDavid S. Miller <davem@davemloft.net>2010-01-23 10:21:27 +0100
commit5833929cc2ad2b3064b4fac8c44e293972d240d8 (patch)
treef40c1e8c54f7b42fb1edf7dadc624ad60deac307 /include/net/snmp.h
parentneigh: simplify seq_file code (diff)
downloadlinux-5833929cc2ad2b3064b4fac8c44e293972d240d8.tar.xz
linux-5833929cc2ad2b3064b4fac8c44e293972d240d8.zip
net: constify MIB name tables
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/snmp.h')
-rw-r--r--include/net/snmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/snmp.h b/include/net/snmp.h
index f0d756f2ac99..da02ee027d69 100644
--- a/include/net/snmp.h
+++ b/include/net/snmp.h
@@ -32,7 +32,7 @@
* - name of entries.
*/
struct snmp_mib {
- char *name;
+ const char *name;
int entry;
};