Move to kernel style SPDX license identifiers
[lttng-ust.git] / tests / unit / gcc-weak-hidden / b.c
... / ...
CommitLineData
1/*
2 * SPDX-License-Identifier: LGPL-2.1-only
3 */
4
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")));
10
11void *testfct_int(void)
12{
13 return &testint;
14}
15
16void *testfct_ptr(void)
17{
18 return &testptr;
19}
20
21void *testfct_24_bytes(void)
22{
23 return &testsym_24_bytes;
24}
This page took 0.022334 seconds and 4 git commands to generate.