Tests: implement REUSE with SPDX identifiers
[lttng-ust.git] / tests / unit / gcc-weak-hidden / libgcc-wh2.c
CommitLineData
89a8858d
MJ
1// SPDX-FileCopyrightText: 2023 EfficiOS, Inc
2//
3// SPDX-License-Identifier: LGPL-2.1-only
c0c0989a 4
4b4a1337
MJ
5#include "libgcc-wh.h"
6
3227b2b9
MD
7int testint __attribute__((weak, visibility("hidden")));
8void *testptr __attribute__((weak, visibility("hidden")));
9struct {
10 char a[24];
11} testsym_24_bytes __attribute__((weak, visibility("hidden")));
5a673446 12
3227b2b9 13void *testlibfct2_int(void)
5a673446 14{
3227b2b9
MD
15 return &testint;
16}
17
18void *testlibfct2_ptr(void)
19{
20 return &testptr;
21}
22
23void *testlibfct2_24_bytes(void)
24{
25 return &testsym_24_bytes;
5a673446 26}
This page took 0.029866 seconds and 4 git commands to generate.