From 07f69023b0e75d98a4be8f0d1c3dd9391b8149a0 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 14 May 2008 16:07:51 -0400 Subject: [PATCH] Move defaultDisplayClass to xdmcp-only visibility. --- dix/globals.c | 1 - os/xdmcp.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/dix/globals.c b/dix/globals.c index 2eca277bd..210c7849c 100644 --- a/dix/globals.c +++ b/dix/globals.c @@ -136,7 +136,6 @@ Bool screenSaverSuspended = FALSE; char *defaultFontPath = COMPILEDDEFAULTFONTPATH; char *defaultTextFont = COMPILEDDEFAULTFONT; char *defaultCursorFont = COMPILEDCURSORFONT; -char *defaultDisplayClass = COMPILEDDISPLAYCLASS; FontPtr defaultFont; /* not declared in dix.h to avoid including font.h in every compilation of dix code */ CursorPtr rootCursor; diff --git a/os/xdmcp.c b/os/xdmcp.c index 310f33bc0..40c50540e 100644 --- a/os/xdmcp.c +++ b/os/xdmcp.c @@ -68,7 +68,7 @@ #define X_INCLUDE_NETDB_H #include -extern char *defaultDisplayClass; +static char *defaultDisplayClass = COMPILEDDISPLAYCLASS; static int xdmcpSocket, sessionSocket; static xdmcp_states state;