From 2096c006aa33f1b49f601f8142fee6615fe2e7f0 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 5 Nov 2015 14:55:34 -0800 Subject: Get rid of ws80211_frequency_to_channel(). Use ieee80211_mhz_to_chan() instead. Change-Id: I1d9a3b9c3a5ad2b1a5bd3f8d10b7f8b1bbcba51d Reviewed-on: https://code.wireshark.org/review/11586 Reviewed-by: Guy Harris --- wsutil/frequency-utils.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'wsutil') diff --git a/wsutil/frequency-utils.h b/wsutil/frequency-utils.h index 10603e06d7..9370a60c82 100644 --- a/wsutil/frequency-utils.h +++ b/wsutil/frequency-utils.h @@ -25,6 +25,10 @@ #include "ws_symbol_export.h" +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + /** @file * Frequency and channel conversion utilities. */ @@ -60,6 +64,10 @@ ieee80211_mhz_to_str(guint freq); /* Should this be "(freq < 4920)", or something else? */ #define FREQ_IS_BG(freq) (freq <= 2484) +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* __FREQUENCY_UTILS_H__ */ /* -- cgit v1.2.3