aboutsummaryrefslogtreecommitdiffstats
path: root/core/ssrf.h
blob: 7f65f2dc50a25873d71db5ee1fa416d14f65402c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// SPDX-License-Identifier: GPL-2.0
#ifndef SSRF_H
#define SSRF_H

#ifdef __cplusplus
extern "C" {
#endif

#ifdef __clang__
// Clang has a bug on zero-initialization of C structs.
#pragma clang diagnostic ignored "-Wmissing-field-initializers"
#endif

#ifdef __cplusplus
}
#else

// Macro to be used for silencing unused parameters
#define UNUSED(x) (void)x
#endif

#endif // SSRF_H