[xserver-commit] xserver/Xext EVIstruct.h,3.4,3.5 security.c,1.12,1.13 sleepuntil.c,3.8,3.9

Warren Turkal xserver-commit@pdx.freedesktop.org


Committed by: wt

Update of /cvs/xserver/xserver/Xext
In directory pdx:/tmp/cvs-serv1375/Xext

Modified Files:
	EVIstruct.h security.c sleepuntil.c 
Log Message:
* completely get rid of NeedNestedPrototypes
* completely get rid of NeedVarargsPrototypes
* remove a lot of NeedFunctionPrototypes
* ansify many function declarations



Index: EVIstruct.h
===================================================================
RCS file: /cvs/xserver/xserver/Xext/EVIstruct.h,v
retrieving revision 3.4
retrieving revision 3.5
diff -u -d -r3.4 -r3.5
--- a/EVIstruct.h	17 Jan 2001 22:13:14 -0000	3.4
+++ b/EVIstruct.h	18 Feb 2004 02:12:44 -0000	3.5
@@ -29,20 +29,16 @@
  ******************************************************************************
  */
 typedef int (*GetVisualInfoProc)(
-#if NeedNestedPrototypes
 	VisualID32*,
 	int,
 	xExtendedVisualInfo**,
 	int*,
 	VisualID32**,
 	int*
-#endif
 );
 typedef void (*FreeVisualInfoProc)(
-#if NeedNestedPrototypes
     xExtendedVisualInfo*,
     VisualID32*
-#endif
 );
 typedef struct _EviPrivRec {
     GetVisualInfoProc getVisualInfo;

Index: security.c
===================================================================
RCS file: /cvs/xserver/xserver/Xext/security.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- a/security.c	11 Sep 2003 05:12:50 -0000	1.12
+++ b/security.c	18 Feb 2004 02:12:44 -0000	1.13
@@ -76,14 +76,10 @@
  * the extension can't be listed or queried.
  */
 int (*UntrustedProcVector[256])(
-#if NeedNestedPrototypes
     ClientPtr /*client*/
-#endif
 );
 int (*SwappedUntrustedProcVector[256])(
-#if NeedNestedPrototypes
     ClientPtr /*client*/
-#endif
 );
 
 /* SecurityAudit

Index: sleepuntil.c
===================================================================
RCS file: /cvs/xserver/xserver/Xext/sleepuntil.c,v
retrieving revision 3.8
retrieving revision 3.9
diff -u -d -r3.8 -r3.9
--- a/sleepuntil.c	2 Nov 2003 19:56:10 -0000	3.8
+++ b/sleepuntil.c	18 Feb 2004 02:12:44 -0000	3.9
@@ -47,10 +47,8 @@
     ClientPtr		pClient;
     XID			id;
     void		(*notifyFunc)(
-#if NeedNestedPrototypes
 			ClientPtr /* client */,
 			pointer /* closure */
-#endif
 			);
 
     pointer		closure;