1 #warning usage of non-standard #include <sys/cdefs.h> is deprecated
2 
3 #undef __P
4 #undef __PMT
5 
6 #define __P(args)	args
7 #define __PMT(args)	args
8 
9 #define __CONCAT(x,y)	x ## y
10 #define __STRING(x)	#x
11 
12 #ifdef  __cplusplus
13 # define __BEGIN_DECLS	extern "C" {
14 # define __END_DECLS	}
15 #else
16 # define __BEGIN_DECLS
17 # define __END_DECLS
18 #endif
19 
20 #if defined(__GNUC__) && !defined(__cplusplus)
21 # define __THROW	__attribute__ ((__nothrow__))
22 # define __NTH(fct)	__attribute__ ((__nothrow__)) fct
23 #else
24 # define __THROW
25 # define __NTH(fct)     fct
26 #endif
27