Move to kernel style SPDX license identifiers
[lttng-ust.git] / tests / unit / gcc-weak-hidden / d.c
1 /*
2 * SPDX-License-Identifier: LGPL-2.1-only
3 */
4
5 int testint __attribute__((weak, visibility("hidden")));
6 void *testptr __attribute__((weak, visibility("hidden")));
7 struct {
8 char a[24];
9 } testsym_24_bytes __attribute__((weak, visibility("hidden")));
10
11 void *testlibfct2_int(void)
12 {
13 return &testint;
14 }
15
16 void *testlibfct2_ptr(void)
17 {
18 return &testptr;
19 }
20
21 void *testlibfct2_24_bytes(void)
22 {
23 return &testsym_24_bytes;
24 }
This page took 0.028966 seconds and 4 git commands to generate.