summaryrefslogtreecommitdiff
path: root/epan/prefs-int.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2006-12-08 01:11:20 +0000
committerGuy Harris <guy@alum.mit.edu>2006-12-08 01:11:20 +0000
commit72bc2582fcf7bc91a25237a653488b12de1c49e3 (patch)
tree3a26fafa0e4efc1dcf30bea5f553b6723ab77b7d /epan/prefs-int.h
parente34cc718853a8da7b76ddeb5eb95941afeffa4eb (diff)
downloadwireshark-72bc2582fcf7bc91a25237a653488b12de1c49e3.tar.gz
A callback in read_prefs_file() should return a prefs_set_pref_e, not an
int. svn path=/trunk/; revision=20069
Diffstat (limited to 'epan/prefs-int.h')
-rw-r--r--epan/prefs-int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/prefs-int.h b/epan/prefs-int.h
index 4dea2089a2..508e637188 100644
--- a/epan/prefs-int.h
+++ b/epan/prefs-int.h
@@ -99,7 +99,7 @@ gint find_val_for_string(const char *needle, const enum_val_t *haystack,
/* read_prefs_file: read in a generic config file and do a callback to */
/* pref_set_pair_fct() for every key/value pair found */
-typedef int (*pref_set_pair_cb) (gchar *key, gchar *value, void *private_data);
+typedef prefs_set_pref_e (*pref_set_pair_cb) (gchar *key, gchar *value, void *private_data);
int
read_prefs_file(const char *pf_path, FILE *pf, pref_set_pair_cb pref_set_pair_fct, void *private_data);