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