summaryrefslogtreecommitdiffhomepage
path: root/opentrack-api
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-30 18:40:06 +0100
committerStanislaw Halik <sthalik@misaki.pl>2013-10-30 18:40:06 +0100
commit5eb570d1608e2071c0d01412925ac43768770624 (patch)
tree04f528d8fbbd938eff522b3207e731a15bdf5f7f /opentrack-api
parent8114e519a15d0f915e8b9e7dfe7e57688bbd198d (diff)
end this foolishness, a linker script is more than enough
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'opentrack-api')
-rw-r--r--opentrack-api/context.cpp7
-rw-r--r--opentrack-api/opentrack-guts.h8
2 files changed, 0 insertions, 15 deletions
diff --git a/opentrack-api/context.cpp b/opentrack-api/context.cpp
index 1fdf6713..003377ce 100644
--- a/opentrack-api/context.cpp
+++ b/opentrack-api/context.cpp
@@ -17,10 +17,6 @@
# define LIB_PREFIX "lib"
#endif
-#ifdef __GNUC__
-# pragma GCC visibility push(protected)
-#endif
-
static Metadata* get_metadata(DynamicLibrary* lib, QString& longName, QIcon& icon)
{
Metadata* meta;
@@ -110,6 +106,3 @@ void opentrack_finalize_ctx(opentrack foo)
}
-#ifdef __GNUC__
-# pragma GCC visibility pop
-#endif
diff --git a/opentrack-api/opentrack-guts.h b/opentrack-api/opentrack-guts.h
index 01463cfc..b9c3878b 100644
--- a/opentrack-api/opentrack-guts.h
+++ b/opentrack-api/opentrack-guts.h
@@ -1,9 +1,5 @@
#pragma once
-#ifdef __GNUC__
-# pragma GCC visibility push(protected)
-#endif
-
#include <QDir>
#include <QList>
#include <QStringList>
@@ -42,7 +38,3 @@ public:
opentrack_ctx(QDir& dir);
~opentrack_ctx();
} *opentrack;
-
-#ifdef __GNUC__
-# pragma GCC visibility pop
-#endif