Luna/libc/include/bits/attrs.h
apio d00ca0d3ed
All checks were successful
continuous-integration/drone/push Build is passing
libc: Add setjmp.h
Partially taken from pre-rewrite Luna, converted setjmp.asm to GNU assembly.
2023-03-28 19:40:48 +02:00

14 lines
420 B
C

/* bits/attrs.h: Macros wrapping GCC attributes for use in the standard library. */
#ifndef _BITS_ATTRS_H
#define _BITS_ATTRS_H
#if !defined(_STDLIB_H) && !defined(_STRING_H) && !defined(_ASSERT_H) && !defined(_SETJMP_H)
#error "Never include bits/attrs.h directly; use one of the standard library headers."
#endif
#define __noreturn __attribute__((noreturn))
#define __deprecated __attribute__((deprecated))
#endif