Module Name: xsrc Committed By: christos Date: Sun May 9 16:13:39 UTC 2021
Modified Files: xsrc/external/mit/xorgproto/dist/include/X11: Xfuncproto.h Log Message: Use __noreturn__ instead of noreturn because <stdnoreturn.h> #defines noreturn _Noreturn and this gives clang a heartache. To generate a diff of this commit: cvs rdiff -u -r1.1.1.2 -r1.2 \ xsrc/external/mit/xorgproto/dist/include/X11/Xfuncproto.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: xsrc/external/mit/xorgproto/dist/include/X11/Xfuncproto.h diff -u xsrc/external/mit/xorgproto/dist/include/X11/Xfuncproto.h:1.1.1.2 xsrc/external/mit/xorgproto/dist/include/X11/Xfuncproto.h:1.2 --- xsrc/external/mit/xorgproto/dist/include/X11/Xfuncproto.h:1.1.1.2 Mon Apr 26 17:10:17 2021 +++ xsrc/external/mit/xorgproto/dist/include/X11/Xfuncproto.h Sun May 9 12:13:39 2021 @@ -150,7 +150,7 @@ in this Software without prior written a #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 */