summaryrefslogtreecommitdiff
path: root/ui/qt/main_window.cpp
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2015-08-12 20:58:14 +0200
committerAnders Broman <a.broman58@gmail.com>2015-08-12 21:04:30 +0000
commitdb2692c44cc321d808f08e6a4a7bd12769c75d94 (patch)
tree4b0cdac79104dfe88de081da36541a3e6eeca48b /ui/qt/main_window.cpp
parent2449c7ad77aa674395b03b6b5848d34b7be799fe (diff)
downloadwireshark-db2692c44cc321d808f08e6a4a7bd12769c75d94.tar.gz
Qt (main_window) fix no previous prototype for '...' [-Wmissing-prototypes]
Change-Id: I43901d37817f9b79d508336253e766d740939e70 Reviewed-on: https://code.wireshark.org/review/10003 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt/main_window.cpp')
-rw-r--r--ui/qt/main_window.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt/main_window.cpp b/ui/qt/main_window.cpp
index e49b1b760f..30f3f51792 100644
--- a/ui/qt/main_window.cpp
+++ b/ui/qt/main_window.cpp
@@ -86,7 +86,7 @@ void pipe_input_set_handler(gint source, gpointer user_data, ws_process_id *chil
gbl_cur_main_window_->setPipeInputHandler(source, user_data, child_process, input_cb);
}
-void plugin_if_mainwindow_apply_filter(gconstpointer user_data)
+static void plugin_if_mainwindow_apply_filter(gconstpointer user_data)
{
if ( gbl_cur_main_window_ != NULL && user_data != NULL )
{
@@ -100,7 +100,7 @@ void plugin_if_mainwindow_apply_filter(gconstpointer user_data)
}
}
-void plugin_if_mainwindow_preference(gconstpointer user_data)
+static void plugin_if_mainwindow_preference(gconstpointer user_data)
{
if ( gbl_cur_main_window_ != NULL && user_data != NULL )
{