All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
sysinit.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2020 Inria
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
20 #ifndef SYSINIT_SYSINIT_H
21 #define SYSINIT_SYSINIT_H
22 
23 #include "assert.h"
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
32 #define SYSINIT_PANIC_ASSERT(rc) assert(rc);
33 
37 #define SYSINIT_ASSERT_ACTIVE()
38 
39 #ifdef __cplusplus
40 }
41 #endif
42 
43 #endif /* SYSINIT_SYSINIT_H */
POSIX.1-2008 compliant version of the assert macro.