Tests: implement REUSE with SPDX identifiers
[lttng-ust.git] / tests / unit / gcc-weak-hidden / b.c
... / ...
CommitLineData
1// SPDX-FileCopyrightText: 2023 EfficiOS, Inc
2//
3// SPDX-License-Identifier: LGPL-2.1-only
4
5#include "b.h"
6
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")));
12
13void *testfct_int(void)
14{
15 return &testint;
16}
17
18void *testfct_ptr(void)
19{
20 return &testptr;
21}
22
23void *testfct_24_bytes(void)
24{
25 return &testsym_24_bytes;
26}
This page took 0.021901 seconds and 4 git commands to generate.