Pref: Remove unsued function

Fix also warning: no previous prototype for 'prefs_get_uint_preference' [-Wmissing-prototypes]

Change-Id: I4626372a9c131584c515a43e73aa019e2f696d29
Reviewed-on: https://code.wireshark.org/review/4960
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Alexis La Goutte 2014-10-28 00:02:16 +01:00 committed by Anders Broman
parent 9056eb9fbd
commit e8d2ba9349
1 changed files with 2 additions and 0 deletions

View File

@ -1199,6 +1199,7 @@ prefs_set_preference_obsolete(pref_t *pref)
return PREFS_SET_NO_SUCH_PREF;
}
#if 0
/* Return the value assigned to the given uint preference. */
guint
prefs_get_uint_preference(pref_t *pref)
@ -1207,6 +1208,7 @@ prefs_get_uint_preference(pref_t *pref)
return *pref->varp.uint;
return 0;
}
#endif
/*
* Call a callback function, with a specified argument, for each preference