diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-06-28 19:08:11 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-06-28 19:08:11 +0000 |
commit | 05d6212a62bb5ea5b93a05c8c8f66efa493273b7 (patch) | |
tree | 1966a605760efd914aa859fe4d7f2de2846acee0 | |
parent | 6d5271b85624550218dbf96523f5ee76dd019c0f (diff) |
Make more routines static.
svn path=/trunk/; revision=43528
-rw-r--r-- | ui/gtk/capture_dlg.c | 7 | ||||
-rw-r--r-- | ui/gtk/capture_dlg.h | 3 |
2 files changed, 4 insertions, 6 deletions
diff --git a/ui/gtk/capture_dlg.c b/ui/gtk/capture_dlg.c index 5c35f6d109..c2a3c2220e 100644 --- a/ui/gtk/capture_dlg.c +++ b/ui/gtk/capture_dlg.c @@ -1432,7 +1432,7 @@ options_prep_adjust_sensitivity(GtkWidget *tb _U_, gpointer parent_w) #endif /*HAVE_PCAP_SETSAMPLING*/ #ifdef HAVE_PCAP_REMOTE -void +static void options_remote_cb(GtkWidget *w _U_, gpointer d _U_) { GtkWidget *opt_remote_w, *main_vb; @@ -2520,7 +2520,8 @@ static void promisc_mode_callback(GtkToggleButton *button, gpointer d _U_) } #if defined (HAVE_PCAP_REMOTE) -void show_remote_dialog(GtkWidget *w) +static void +show_remote_dialog(GtkWidget *w) { g_free(global_remote_opts.remote_host_opts.remote_host); @@ -4170,7 +4171,7 @@ capture_prep_cb(GtkWidget *w _U_, gpointer d _U_) } /* everythings prepared, now it's really time to start the capture */ -void +static void capture_start_confirmed(void) { interface_options interface_opts; diff --git a/ui/gtk/capture_dlg.h b/ui/gtk/capture_dlg.h index bcba54c196..8c562cfb0f 100644 --- a/ui/gtk/capture_dlg.h +++ b/ui/gtk/capture_dlg.h @@ -66,9 +66,6 @@ void capture_stop_cb(GtkWidget *widget, gpointer data); */ void capture_restart_cb(GtkWidget *widget, gpointer data); -/* capture start confirmed by "Save unsaved capture", so do it now */ -void capture_start_confirmed(void); - /** User requested the "Capture Airpcap" dialog box by menu or toolbar. * * @param widget parent widget (unused) |