Subject: [RFC iproute2-next 1/5] ss: make args to get_snmp_int const

From: Stephen Hemminger <[email-masked]>
Date: Wed, 2 May 2018 13:27:57 -0700

These are keys for lookup and should be const.

Signed-off-by: Stephen Hemminger <[email-masked]>
---
 misc/ss.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/misc/ss.c b/misc/ss.c
index 3ed7e66962f3..22c76e34f83b 100644
--- a/misc/ss.c
+++ b/misc/ss.c
@@ -4539,7 +4539,7 @@ static int handle_follow_request(struct filter *f)
 	return ret;
 }
 
-static int get_snmp_int(char *proto, char *key, int *result)
+static int get_snmp_int(const char *proto, const char *key, int *result)
 {
 	char buf[1024];
 	FILE *fp;
-- 
2.17.0