Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/trunk]: xsrc/external/mit/xorgproto/dist/include/X11 Use __noreturn__ i...
details: https://anonhg.NetBSD.org/xsrc/rev/55838b57de5d
branches: trunk
changeset: 10712:55838b57de5d
user: christos <christos%NetBSD.org@localhost>
date: Sun May 09 16:13:39 2021 +0000
description:
Use __noreturn__ instead of noreturn because <stdnoreturn.h> #defines
noreturn _Noreturn and this gives clang a heartache.
diffstat:
external/mit/xorgproto/dist/include/X11/Xfuncproto.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 46ad811fdf39 -r 55838b57de5d external/mit/xorgproto/dist/include/X11/Xfuncproto.h
--- a/external/mit/xorgproto/dist/include/X11/Xfuncproto.h Tue Apr 27 06:14:35 2021 +0000
+++ b/external/mit/xorgproto/dist/include/X11/Xfuncproto.h Sun May 09 16:13:39 2021 +0000
@@ -150,7 +150,7 @@
#if __has_attribute(noreturn) \
|| (defined(__GNUC__) && ((__GNUC__ * 100 + __GNUC_MINOR__) >= 205)) \
|| (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))
-# define _X_NORETURN __attribute((noreturn))
+# define _X_NORETURN __attribute__((__noreturn__))
#else
# define _X_NORETURN
#endif /* GNUC */
Home |
Main Index |
Thread Index |
Old Index