diff options
author | Guy Harris <guy@alum.mit.edu> | 2006-12-08 01:11:20 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2006-12-08 01:11:20 +0000 |
commit | 72bc2582fcf7bc91a25237a653488b12de1c49e3 (patch) | |
tree | 3a26fafa0e4efc1dcf30bea5f553b6723ab77b7d /epan/prefs-int.h | |
parent | e34cc718853a8da7b76ddeb5eb95941afeffa4eb (diff) | |
download | wireshark-72bc2582fcf7bc91a25237a653488b12de1c49e3.tar.gz wireshark-72bc2582fcf7bc91a25237a653488b12de1c49e3.tar.bz2 wireshark-72bc2582fcf7bc91a25237a653488b12de1c49e3.zip |
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.h | 2 |
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); |