2023-01-07 10:21:53 +00:00
|
|
|
/* bits/attrs.h: Macros wrapping GCC attributes for use in the standard library. */
|
|
|
|
|
2023-01-06 12:31:14 +00:00
|
|
|
#ifndef _BITS_ATTRS_H
|
|
|
|
#define _BITS_ATTRS_H
|
|
|
|
|
2023-07-11 09:49:10 +00:00
|
|
|
#if !defined(_STDLIB_H) && !defined(_UNISTD_H) && !defined(_STRING_H) && !defined(_ASSERT_H) && !defined(_SETJMP_H) && \
|
|
|
|
!defined(_SYS_TIME_H)
|
2023-01-06 12:31:14 +00:00
|
|
|
#error "Never include bits/attrs.h directly; use one of the standard library headers."
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define __noreturn __attribute__((noreturn))
|
2023-01-06 16:35:07 +00:00
|
|
|
#define __deprecated __attribute__((deprecated))
|
2023-01-06 12:31:14 +00:00
|
|
|
|
|
|
|
#endif
|