Skip to content

Commit 6cb983a

Browse files
committed
use __attribute__ instead of [[]] in setjmp_impl.h for consistency
1 parent 5047b8f commit 6cb983a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

libc/src/setjmp/setjmp_impl.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ namespace LIBC_NAMESPACE_DECL {
2929
#ifdef LIBC_COMPILER_IS_GCC
3030
[[gnu::nothrow]]
3131
#endif
32-
[[gnu::returns_twice]] int
33-
setjmp(jmp_buf buf);
32+
__attribute__((returns_twice)) int setjmp(jmp_buf buf);
3433

3534
} // namespace LIBC_NAMESPACE_DECL
3635

0 commit comments

Comments
 (0)