Blame include/sys/cdefs.h

Kylie McClain b61f59
#warning usage of non-standard #include <sys/cdefs.h> is deprecated
Kylie McClain b61f59
Kylie McClain b61f59
#undef __P
Kylie McClain b61f59
#undef __PMT
Kylie McClain b61f59
Kylie McClain b61f59
#define __P(args)	args
Kylie McClain b61f59
#define __PMT(args)	args
Kylie McClain b61f59
Kylie McClain b61f59
#define __CONCAT(x,y)	x ## y
Kylie McClain b61f59
#define __STRING(x)	#x
Kylie McClain b61f59
Kylie McClain b61f59
#ifdef  __cplusplus
Kylie McClain b61f59
# define __BEGIN_DECLS	extern "C" {
Kylie McClain b61f59
# define __END_DECLS	}
Kylie McClain b61f59
#else
Kylie McClain b61f59
# define __BEGIN_DECLS
Kylie McClain b61f59
# define __END_DECLS
Kylie McClain b61f59
#endif
Kylie McClain b61f59
Kylie McClain b61f59
#if defined(__GNUC__) && !defined(__cplusplus)
Kylie McClain b61f59
# define __THROW	__attribute__ ((__nothrow__))
Kylie McClain b61f59
# define __NTH(fct)	__attribute__ ((__nothrow__)) fct
Kylie McClain b61f59
#else
Kylie McClain b61f59
# define __THROW
Kylie McClain b61f59
# define __NTH(fct)     fct
Kylie McClain b61f59
#endif