subsurface/core/ssrf.h
Berthold Stoeger b56dd13add build: remove extern "C" linkage
No more C source files, no more necessity to use C-linkage.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-08-13 19:28:30 +02:00

13 lines
308 B
C

// SPDX-License-Identifier: GPL-2.0
#ifndef SSRF_H
#define SSRF_H
#ifdef __clang__
// Clang has a bug on zero-initialization of C structs.
#pragma clang diagnostic ignored "-Wmissing-field-initializers"
#endif
// Macro to be used for silencing unused parameters
#define UNUSED(x) (void)x
#endif // SSRF_H