aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/api/testdata/link-dynamiclibs-staticlibs/static1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/api/testdata/link-dynamiclibs-staticlibs/static1.cpp')
-rw-r--r--tests/auto/api/testdata/link-dynamiclibs-staticlibs/static1.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/auto/api/testdata/link-dynamiclibs-staticlibs/static1.cpp b/tests/auto/api/testdata/link-dynamiclibs-staticlibs/static1.cpp
index 87b713757..1e67972dc 100644
--- a/tests/auto/api/testdata/link-dynamiclibs-staticlibs/static1.cpp
+++ b/tests/auto/api/testdata/link-dynamiclibs-staticlibs/static1.cpp
@@ -1,16 +1,14 @@
#include <stdio.h>
#if defined(_WIN32) || defined(WIN32)
-# define EXPORT __declspec(dllexport)
# define IMPORT __declspec(dllimport)
#else
-# define EXPORT __attribute__((visibility("default")))
# define IMPORT
#endif
IMPORT void dynamic2_hello();
-EXPORT void static1_hello()
+void static1_hello()
{
dynamic2_hello();
puts("static1 says hello!");