summaryrefslogtreecommitdiffhomepage
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
parent8114e519a15d0f915e8b9e7dfe7e57688bbd198d (diff)
end this foolishness, a linker script is more than enough
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
-rw-r--r--facetracknoir/global-settings.cpp12
-rw-r--r--facetracknoir/global-settings.h13
-rw-r--r--opentrack-api/context.cpp7
-rw-r--r--opentrack-api/opentrack-guts.h8
4 files changed, 0 insertions, 40 deletions
diff --git a/facetracknoir/global-settings.cpp b/facetracknoir/global-settings.cpp
index 42646742..b198f327 100644
--- a/facetracknoir/global-settings.cpp
+++ b/facetracknoir/global-settings.cpp
@@ -4,12 +4,6 @@
# include <dlfcn.h>
#endif
-#ifdef IN_OPENTRACK_API
-# ifdef __GNUC__
-# pragma GCC visibility push(protected)
-# endif
-#endif
-
SelectedLibraries* Libraries = NULL;
SelectedLibraries::~SelectedLibraries()
@@ -134,9 +128,3 @@ DynamicLibrary::~DynamicLibrary()
(void) dlclose(handle);
#endif
}
-
-#ifdef IN_OPENTRACK_API
-# ifdef __GNUC__
-# pragma GCC visibility pop
-# endif
-#endif
diff --git a/facetracknoir/global-settings.h b/facetracknoir/global-settings.h
index ea36abac..3e24bf74 100644
--- a/facetracknoir/global-settings.h
+++ b/facetracknoir/global-settings.h
@@ -14,12 +14,6 @@
#include <cstdio>
-#ifdef IN_OPENTRACK_API
-# ifdef __GNUC__
-# pragma GCC visibility push(protected)
-# endif
-#endif
-
#include <QWidget>
#include <QDebug>
#include <QString>
@@ -91,10 +85,3 @@ public:
virtual DynamicLibrary* current_filter() = 0;
virtual QFrame* get_video_widget() = 0;
};
-
-
-#ifdef IN_OPENTRACK_API
-# ifdef __GNUC__
-# pragma GCC visibility pop
-# endif
-#endif
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