CVS commit: xsrc/external/mit/xorgproto/dist/include/X11

2021-05-09 Thread Christos Zoulas
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  #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  */



CVS commit: xsrc/external/mit/xorgproto/dist/include/X11

2018-03-14 Thread matthew green
Module Name:xsrc
Committed By:   mrg
Date:   Wed Mar 14 07:57:44 UTC 2018

Modified Files:
xsrc/external/mit/xorgproto/dist/include/X11: Xpoll.h.in

Log Message:
merge our local fixes for Xpoll.h.in -- moves FD_SETSIZE.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
xsrc/external/mit/xorgproto/dist/include/X11/Xpoll.h.in

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/Xpoll.h.in
diff -u xsrc/external/mit/xorgproto/dist/include/X11/Xpoll.h.in:1.1.1.1 xsrc/external/mit/xorgproto/dist/include/X11/Xpoll.h.in:1.2
--- xsrc/external/mit/xorgproto/dist/include/X11/Xpoll.h.in:1.1.1.1	Wed Mar 14 07:25:45 2018
+++ xsrc/external/mit/xorgproto/dist/include/X11/Xpoll.h.in	Wed Mar 14 07:57:43 2018
@@ -54,6 +54,15 @@ from The Open Group.
 
 #ifndef USE_POLL
 
+#if defined(FD_SETSIZE) && FD_SETSIZE < 512
+# define XFD_SETSIZE	FD_SETSIZE
+#else
+# define XFD_SETSIZE	512
+# ifndef FD_SETSIZE
+#  define FD_SETSIZE	XFD_SETSIZE
+# endif
+#endif
+
 #include 
 
 #include   /* Get the FD_* macros. */
@@ -67,15 +76,6 @@ typedef long fd_mask;
 # endif
 #endif
 
-#if defined(FD_SETSIZE) && FD_SETSIZE < 512
-# define XFD_SETSIZE	FD_SETSIZE
-#else
-# define XFD_SETSIZE	512
-# ifndef FD_SETSIZE
-#  define FD_SETSIZE	XFD_SETSIZE
-# endif
-#endif
-
 #ifndef NBBY
 #define NBBY	8		/* number of bits in a byte */
 #endif