From db5bd04097fd815ab6523f187679682a5e5047fa Mon Sep 17 00:00:00 2001 From: Alexander Gottwald Date: Wed, 20 Apr 2005 16:40:52 +0000 Subject: [PATCH] Fix includes right throughout the Xserver tree: apply changes to windows specific includes Fix includes right throughout the Xserver tree: apply changes to Xdmcp.h --- GL/windows/glwindows.h | 2 +- GL/windows/glwrap.c | 2 +- os/auth.c | 2 +- os/xdmauth.c | 2 +- os/xdmcp.c | 4 ++-- xkb/ddxLoad.c | 6 +++--- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/GL/windows/glwindows.h b/GL/windows/glwindows.h index b0e83d077..0e269a119 100644 --- a/GL/windows/glwindows.h +++ b/GL/windows/glwindows.h @@ -1,4 +1,4 @@ -#include +#include #include #include diff --git a/GL/windows/glwrap.c b/GL/windows/glwrap.c index 656edc131..646675765 100755 --- a/GL/windows/glwrap.c +++ b/GL/windows/glwrap.c @@ -5,7 +5,7 @@ * Authors: Alexander Gottwald */ -#include +#include #include #include #include diff --git a/os/auth.c b/os/auth.c index c186ea848..8954f2869 100644 --- a/os/auth.c +++ b/os/auth.c @@ -48,7 +48,7 @@ from The Open Group. # include #endif #ifdef WIN32 -#include "Xw32defs.h" +#include #endif struct protocol { diff --git a/os/xdmauth.c b/os/xdmauth.c index 1d4a7d2c3..1468dfeb7 100644 --- a/os/xdmauth.c +++ b/os/xdmauth.c @@ -49,7 +49,7 @@ static Bool authFromXDMCP; #ifdef XDMCP #include #undef REQUEST -#include "Xdmcp.h" +#include /* XDM-AUTHENTICATION-1 */ diff --git a/os/xdmcp.c b/os/xdmcp.c index 82e2f297c..23b25953f 100644 --- a/os/xdmcp.c +++ b/os/xdmcp.c @@ -1,4 +1,4 @@ -/* $XdotOrg: xc/programs/Xserver/os/xdmcp.c,v 1.4 2004/11/15 15:06:50 ago Exp $ */ +/* $XdotOrg: xc/programs/Xserver/os/xdmcp.c,v 1.5 2005/04/20 12:25:47 daniels Exp $ */ /* $Xorg: xdmcp.c,v 1.4 2001/01/31 13:37:19 pookie Exp $ */ /* * Copyright 1989 Network Computing Devices, Inc., Mountain View, California. @@ -17,7 +17,7 @@ /* $XFree86: xc/programs/Xserver/os/xdmcp.c,v 3.31 2003/12/30 21:24:32 herrb Exp $ */ #ifdef WIN32 -#include +#include #endif #include diff --git a/xkb/ddxLoad.c b/xkb/ddxLoad.c index c2b1f18ee..5ad593f4c 100644 --- a/xkb/ddxLoad.c +++ b/xkb/ddxLoad.c @@ -79,7 +79,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. #ifdef WIN32 -#include +#include const char* Win32TempDir() { @@ -139,12 +139,12 @@ Win32System(const char *cmdline) xfree(cmd); return -1; } - // Wait until child process exits. + /* Wait until child process exits. */ WaitForSingleObject( pi.hProcess, INFINITE ); GetExitCodeProcess( pi.hProcess, &dwExitCode); - // Close process and thread handles. + /* Close process and thread handles. */ CloseHandle( pi.hProcess ); CloseHandle( pi.hThread ); xfree(cmd);