Make a routine static that's not used outside its source file.

Change-Id: I5121828c1fb95cbf89e7304dd748f8fcac63ad5a
Reviewed-on: https://code.wireshark.org/review/29073
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2018-08-11 12:01:21 -07:00
parent 47860f05b4
commit 1b3aaeae72
2 changed files with 1 additions and 10 deletions

View File

@ -472,7 +472,7 @@ get_if_name(const char *if_text)
* This is necessary because capture_opts.c can't set descr (at least
* not without adding significant dependencies there).
*/
const char *
static const char *
get_iface_description_for_interface(capture_options *capture_opts, guint i)
{
interface_options *interface_opts;

View File

@ -132,15 +132,6 @@ void free_capture_combo_list(GList *combo_list);
*/
const char *get_if_name(const char *if_text);
/** Return the interface description (after setting it if not already set)
*
* @param capture_opts The capture_options structure that contains the used interface
* @param i The index of the interface
*
* @return A pointer to interface_opts->descr
*/
const char *get_iface_description_for_interface(capture_options *capture_opts, guint i);
/** Set the active DLT for a device appropriately.
*
* @param device the device on which to set the active DLT