aboutsummaryrefslogtreecommitdiffstats
path: root/epan/prefs.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2005-06-24 01:32:42 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2005-06-24 01:32:42 +0000
commit14c8918e1dbf61078daaa1e27139aaeadcd447d0 (patch)
tree20224aded670da90d23f114f2289164b2314c07e /epan/prefs.h
parenta12d13132828f8d92e4ab867ed29db8a10af2613 (diff)
Constify a bunch of structure members and function arguments, to squelch
compiler warnings. Clean up indentation. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14739 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/prefs.h')
-rw-r--r--epan/prefs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/prefs.h b/epan/prefs.h
index 2145a8de9e..d66ec6c12a 100644
--- a/epan/prefs.h
+++ b/epan/prefs.h
@@ -239,12 +239,12 @@ typedef struct preference pref_t;
/*
* Returns TRUE if the given protocol has registered preferences.
*/
-extern gboolean prefs_is_registered_protocol(char *name);
+extern gboolean prefs_is_registered_protocol(const char *name);
/*
* Returns the module title of a registered protocol (or NULL if unknown).
*/
-extern const char *prefs_get_title_by_name(char *name);
+extern const char *prefs_get_title_by_name(const char *name);
/*
* Register a preference with an unsigned integral value.