Move compat macros in 'lttng/align.h' to a private header
[lttng-ust.git] / tests / unit / gcc-weak-hidden / b.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 *testfct_int(void)
5a673446 12{
3227b2b9
MD
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;
5a673446 24}
This page took 0.026383 seconds and 4 git commands to generate.