summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-12-03 15:31:07 +0100
committerSlávek Banko <slavek.banko@axis.cz>2016-12-03 15:31:07 +0100
commitc6f688a973a25341cff101abb8005d0f808c2008 (patch)
tree98bdcb07cedf2620d6e266783a7c4611aa9c7289 /src
parent6e2c2a18963d346423c02038214a9f43a1c17a48 (diff)
downloadkpowersave-c6f688a973a25341cff101abb8005d0f808c2008.tar.gz
kpowersave-c6f688a973a25341cff101abb8005d0f808c2008.zip
Fix build with GCC hidden visibility
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index ca7ad52..2b91ba0 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -49,7 +49,7 @@ TDECmdLineOptions options[] = { { "force-acpi-check", I18N_NOOP("Force a new che
static const char version[] = "0.7.x (0.7.3)";
bool trace = false;
-extern "C"
+extern "C" KDE_EXPORT
int kdemain(int argc, char **argv)
{
TDEAboutData about("kpowersave", I18N_NOOP("KPowersave"), version, description,