summaryrefslogtreecommitdiff
path: root/ws80211_utils.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2012-12-29 20:56:11 +0000
committerBill Meier <wmeier@newsguy.com>2012-12-29 20:56:11 +0000
commit7dfa337910164ea684d7005f3b3ead74cd543f0e (patch)
tree42401c37c3fe5759624258053395618c98040232 /ws80211_utils.c
parent1a97d3395a9c84d3ea89db818b735f3256f5d124 (diff)
downloadwireshark-7dfa337910164ea684d7005f3b3ead74cd543f0e.tar.gz
Add a few consts to fix some compiler (GCC) errors.
svn path=/trunk/; revision=46849
Diffstat (limited to 'ws80211_utils.c')
-rw-r--r--ws80211_utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ws80211_utils.c b/ws80211_utils.c
index 6e26f557a8..d749e1eb91 100644
--- a/ws80211_utils.c
+++ b/ws80211_utils.c
@@ -650,7 +650,7 @@ ws80211_str_to_chan_type(const gchar *s)
return ret;
}
-gchar
+const gchar
*ws80211_chan_type_to_str(int type)
{
switch (type) {
@@ -701,7 +701,7 @@ int ws80211_str_to_chan_type(const gchar *s _U_)
return -1;
}
-gchar *ws80211_chan_type_to_str(int type _U_)
+const gchar *ws80211_chan_type_to_str(int type _U_)
{
return NULL;
}