summaryrefslogtreecommitdiff
path: root/epan/prefs.h
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.h
parent6f9d56ddd097bbae7fea6c1e242992aef88ab58b (diff)
downloadwireshark-76258fe8e3484911401b2c70b48516b0eabfbbe0.tar.gz
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.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.