summaryrefslogtreecommitdiffhomepage
path: root/gui/init.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-05-27 21:42:40 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-05-27 21:42:40 +0200
commitfe84167434b767a172e5277ad4de260bb915a2a4 (patch)
tree8d2534a7b0354e0246d5ee6f538efec4ff394201 /gui/init.cpp
parent392c0b904a56ea84f2069080ff1e3303cc775e00 (diff)
gui: fix link error due to differing prototype
Reported-by: Artem Sobolev
Diffstat (limited to 'gui/init.cpp')
-rw-r--r--gui/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/init.cpp b/gui/init.cpp
index f3330b24..683693d1 100644
--- a/gui/init.cpp
+++ b/gui/init.cpp
@@ -183,7 +183,7 @@ int run_window(QApplication& app, std::unique_ptr<QWidget> main_window)
return status;
}
-int otr_main(int argc, char** argv, std::function<QWidget*()> const& make_main_window)
+OTR_GUI_EXPORT int otr_main(int argc, char** argv, std::function<QWidget*()> const& make_main_window)
{
#if defined OTR_HAS_DENORM_CONTROL
set_fp_mask();