summaryrefslogtreecommitdiff
path: root/epan/ipproto.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2010-04-03 18:18:50 +0000
committerBill Meier <wmeier@newsguy.com>2010-04-03 18:18:50 +0000
commit6812b68eb1973d4a439cc1342890353982a42a57 (patch)
treeb191b600b7710d04062effdc3f43d243d1150b55 /epan/ipproto.c
parent68ad976a55954f7c4859c9402e4c219cf1fb5d45 (diff)
downloadwireshark-6812b68eb1973d4a439cc1342890353982a42a57.tar.gz
From Yaniv Kaul: constify parameters
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4422 From me: Fix a number of instances where the function prototype or the function definition wasn't changed so there was a mismatch thus causing Windows (but not gcc) compilation errors. svn path=/trunk/; revision=32365
Diffstat (limited to 'epan/ipproto.c')
-rw-r--r--epan/ipproto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/ipproto.c b/epan/ipproto.c
index 289530f088..c48b44972d 100644
--- a/epan/ipproto.c
+++ b/epan/ipproto.c
@@ -187,7 +187,7 @@ const value_string ipproto_val[] = {
{ 0, NULL },
};
-const char *ipprotostr(int proto) {
+const char *ipprotostr(const int proto) {
const char *s;
if ((s = match_strval(proto, ipproto_val)) != NULL)