diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-12-14 07:29:38 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-12-14 07:29:38 +0000 |
commit | 918ca24baa2427959a3522176341f9643dd689df (patch) | |
tree | 3e26508ca0699f96507b77641a4c3aaefa0af993 /capture_ui_utils.h | |
parent | 0bb88bca5b4bcfb70880d9ee01cfa5ffb8b3976d (diff) |
Constify a bunch of arguments and variables, to squelch compiler
warnings.
Include "wiretap/libpcap.h" in "capture_loop.h", to get its declarations
of data structures for headers in libpcap files. This lets us remove
the includes of "wiretap/libpcap.h from files including
"capture_loop.h".
Make "log_func_ignore()" in "tethereal.c" static, and declare some of
its arguments unused. Also get rid of an unused variable.
Include <pcap.h> before including "wiretap/wtap-capture.h", to declare
"struct pcap_pkthdr".
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16791 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture_ui_utils.h')
-rw-r--r-- | capture_ui_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/capture_ui_utils.h b/capture_ui_utils.h index a06a2db7e6..40691b4d57 100644 --- a/capture_ui_utils.h +++ b/capture_ui_utils.h @@ -65,7 +65,7 @@ void free_capture_combo_list(GList *combo_list); * * @return The raw interface name, without description (must NOT be g_free'd later) */ -char *get_if_name(const char *if_text); +const char *get_if_name(const char *if_text); /** Convert plain interface name to the displayed name in the combo box. * |