From 72bc2582fcf7bc91a25237a653488b12de1c49e3 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 8 Dec 2006 01:11:20 +0000 Subject: A callback in read_prefs_file() should return a prefs_set_pref_e, not an int. svn path=/trunk/; revision=20069 --- epan/prefs-int.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/prefs-int.h') 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); -- cgit v1.2.1