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