fix: unix socket peercred on FreeBSD
[lttng-ust.git] / tests / unit / gcc-weak-hidden / b.c
CommitLineData
3227b2b9
MD
1int testint __attribute__((weak, visibility("hidden")));
2void *testptr __attribute__((weak, visibility("hidden")));
3struct {
4 char a[24];
5} testsym_24_bytes __attribute__((weak, visibility("hidden")));
5a673446 6
3227b2b9 7void *testfct_int(void)
5a673446 8{
3227b2b9
MD
9 return &testint;
10}
11
12void *testfct_ptr(void)
13{
14 return &testptr;
15}
16
17void *testfct_24_bytes(void)
18{
19 return &testsym_24_bytes;
5a673446 20}
This page took 0.023842 seconds and 4 git commands to generate.