fix: all functions have declarations (-Wmissing-prototypes -Wold-style-definition)
[lttng-ust.git] / tests / unit / gcc-weak-hidden / c.c
diff --git a/tests/unit/gcc-weak-hidden/c.c b/tests/unit/gcc-weak-hidden/c.c
deleted file mode 100644 (file)
index 8f3cef0..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * SPDX-License-Identifier: LGPL-2.1-only
- */
-
-int testint __attribute__((weak, visibility("hidden")));
-void *testptr __attribute__((weak, visibility("hidden")));
-struct {
-       char a[24];
-} testsym_24_bytes __attribute__((weak, visibility("hidden")));
-
-void *testlibfct1_int(void)
-{
-       return &testint;
-}
-
-void *testlibfct1_ptr(void)
-{
-       return &testptr;
-}
-
-void *testlibfct1_24_bytes(void)
-{
-       return &testsym_24_bytes;
-}
This page took 0.025208 seconds and 4 git commands to generate.