aboutsummaryrefslogtreecommitdiffstats
path: root/epan/prefs.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-06-24 01:32:42 +0000
committerGuy Harris <guy@alum.mit.edu>2005-06-24 01:32:42 +0000
commit76258fe8e3484911401b2c70b48516b0eabfbbe0 (patch)
tree20224aded670da90d23f114f2289164b2314c07e /epan/prefs.c
parent6f9d56ddd097bbae7fea6c1e242992aef88ab58b (diff)
Constify a bunch of structure members and function arguments, to squelch
compiler warnings. Clean up indentation. svn path=/trunk/; revision=14739
Diffstat (limited to 'epan/prefs.c')
-rw-r--r--epan/prefs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/prefs.c b/epan/prefs.c
index 73465b8118..058a947178 100644
--- a/epan/prefs.c
+++ b/epan/prefs.c
@@ -487,7 +487,7 @@ find_preference(module_t *module, const char *name)
* Returns TRUE if the given protocol has registered preferences
*/
gboolean
-prefs_is_registered_protocol(char *name)
+prefs_is_registered_protocol(const char *name)
{
module_t *m = find_module(name);
@@ -498,7 +498,7 @@ prefs_is_registered_protocol(char *name)
* Returns the module title of a registered protocol
*/
const char *
-prefs_get_title_by_name(char *name)
+prefs_get_title_by_name(const char *name)
{
module_t *m = find_module(name);