aboutsummaryrefslogtreecommitdiffstats
path: root/wireshark-qt.cpp
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2018-01-03 09:57:19 +0000
committerAnders Broman <a.broman58@gmail.com>2018-01-03 12:34:44 +0000
commit6bd539d51f45a756f40ee2a5c3712845c6f5a1a4 (patch)
treed103c0537ee0275842414d0bdf5c4a8a01737c0c /wireshark-qt.cpp
parente3ce3a6f793ab995b48766533f0a0d25356d09bf (diff)
wireshark-qt(.cpp): fix no previous declaration for ‘void g_log_message_handler(QtMsgType, const QMessageLogContext&, const QString&)’ [-Wmissing-declarations]
Change-Id: Ia08cf5a03be10b8553516196e24d51e5f48934a7 Reviewed-on: https://code.wireshark.org/review/25122 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'wireshark-qt.cpp')
-rw-r--r--wireshark-qt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/wireshark-qt.cpp b/wireshark-qt.cpp
index fda4884380..a890a036f6 100644
--- a/wireshark-qt.cpp
+++ b/wireshark-qt.cpp
@@ -258,7 +258,7 @@ get_wireshark_runtime_info(GString *str)
#endif
}
-void
+static void
g_log_message_handler(QtMsgType type, const QMessageLogContext &, const QString &msg)
{
GLogLevelFlags log_level = G_LOG_LEVEL_DEBUG;