mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: add ssrf.h as global product header
ssrf contains macros/includes etc. used in ssrf, but not related to dives (mainly in dive.h) currently the header is created to add the macro UNUSED later it will be used to remove non-dive related items from dive.h Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
ce800310a4
commit
a243977026
1 changed files with 18 additions and 0 deletions
18
core/ssrf.h
Normal file
18
core/ssrf.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef SSRF_H
|
||||
#define SSRF_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#else
|
||||
|
||||
// Macro to be used for silencing unused parameters
|
||||
#define UNUSED(x) (void)x
|
||||
#endif
|
||||
|
||||
#endif // SSRF_H
|
Loading…
Add table
Reference in a new issue