scan_local_interfaces() isn't in capture_opts.c; don't declare it in
capture_opts.h. (It arguably belongs somewhere other than in a file in ui/gtk, but, if so, move it there, e.g. to something in ui.) svn path=/trunk/; revision=41712
This commit is contained in:
parent
6090a6c659
commit
7f5162352f
|
@ -280,9 +280,6 @@ typedef struct {
|
|||
cap_settings_t
|
||||
capture_get_cap_settings (gchar *if_name);
|
||||
|
||||
extern void
|
||||
scan_local_interfaces(capture_options* capture_opts, int *error);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
|
|
@ -3969,6 +3969,10 @@ guint get_interface_type(gchar *name, gchar *description)
|
|||
return IF_WIRED;
|
||||
}
|
||||
|
||||
/*
|
||||
* Fetch the list of local interfaces with capture_interface_list()
|
||||
* and add it to *capture_opts.
|
||||
*/
|
||||
void
|
||||
scan_local_interfaces(capture_options* capture_opts, int *error)
|
||||
{
|
||||
|
|
|
@ -354,5 +354,10 @@ extern GtkWidget *pkt_scrollw;
|
|||
|
||||
void hide_interface(gchar* new_hide);
|
||||
|
||||
/*
|
||||
* Fetch the list of local interfaces with capture_interface_list()
|
||||
* and add it to *capture_opts.
|
||||
*/
|
||||
extern void scan_local_interfaces(capture_options* capture_opts, int *error);
|
||||
|
||||
#endif /* __MAIN_H__ */
|
||||
|
|
Loading…
Reference in New Issue