Commit | Line | Data |
---|---|---|
c0c0989a MJ |
1 | /* |
2 | * SPDX-License-Identifier: LGPL-2.1-only | |
3 | */ | |
4 | ||
4b4a1337 MJ |
5 | #include "b.h" |
6 | ||
3227b2b9 MD |
7 | int testint __attribute__((weak, visibility("hidden"))); |
8 | void *testptr __attribute__((weak, visibility("hidden"))); | |
9 | struct { | |
10 | char a[24]; | |
11 | } testsym_24_bytes __attribute__((weak, visibility("hidden"))); | |
5a673446 | 12 | |
3227b2b9 | 13 | void *testfct_int(void) |
5a673446 | 14 | { |
3227b2b9 MD |
15 | return &testint; |
16 | } | |
17 | ||
18 | void *testfct_ptr(void) | |
19 | { | |
20 | return &testptr; | |
21 | } | |
22 | ||
23 | void *testfct_24_bytes(void) | |
24 | { | |
25 | return &testsym_24_bytes; | |
5a673446 | 26 | } |