diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-06-24 01:32:42 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-06-24 01:32:42 +0000 |
commit | 14c8918e1dbf61078daaa1e27139aaeadcd447d0 (patch) | |
tree | 20224aded670da90d23f114f2289164b2314c07e /epan/prefs.h | |
parent | a12d13132828f8d92e4ab867ed29db8a10af2613 (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.h | 4 |
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. |