diff options
author | Bill Meier <wmeier@newsguy.com> | 2010-04-02 14:37:49 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2010-04-02 14:37:49 +0000 |
commit | 049f9eac856bba91850332e90033be56dfa87f37 (patch) | |
tree | 1de2f031494726578dfd8df5ad324ca9546a0e1a /epan/ipproto.c | |
parent | 9c05bc3bc545ec1726561f7f33e493f81e6e59fc (diff) |
From Yaniv Kaul: constify parameters
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4422
svn path=/trunk/; revision=32360
Diffstat (limited to 'epan/ipproto.c')
-rw-r--r-- | epan/ipproto.c | 2 |
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) |