From 0cd2a24b61ef1583fc6b3fec7d01c7481cc97d52 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 6 Jan 2016 08:30:07 -0500 Subject: [PATCH] xfree86: Unexport xf86Initialising, remove xf86ServerIsInitialising MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Neither of these are used from outside the server. Reviewed-by: Michel Dänzer Signed-off-by: Adam Jackson --- hw/xfree86/common/xf86.h | 2 -- hw/xfree86/common/xf86Helper.c | 6 ------ hw/xfree86/common/xf86Priv.h | 2 +- hw/xfree86/doc/ddxDesign.xml | 12 ------------ 4 files changed, 1 insertion(+), 21 deletions(-) diff --git a/hw/xfree86/common/xf86.h b/hw/xfree86/common/xf86.h index 1cde47873..38b901f37 100644 --- a/hw/xfree86/common/xf86.h +++ b/hw/xfree86/common/xf86.h @@ -306,8 +306,6 @@ xf86ServerIsExiting(void); extern _X_EXPORT Bool xf86ServerIsResetting(void); extern _X_EXPORT Bool -xf86ServerIsInitialising(void); -extern _X_EXPORT Bool xf86ServerIsOnlyDetecting(void); extern _X_EXPORT Bool xf86CaughtSignal(void); diff --git a/hw/xfree86/common/xf86Helper.c b/hw/xfree86/common/xf86Helper.c index 3b01a49b5..e6dd4a61f 100644 --- a/hw/xfree86/common/xf86Helper.c +++ b/hw/xfree86/common/xf86Helper.c @@ -1515,12 +1515,6 @@ xf86ServerIsResetting(void) return xf86Resetting; } -Bool -xf86ServerIsInitialising(void) -{ - return xf86Initialising; -} - Bool xf86ServerIsOnlyDetecting(void) { diff --git a/hw/xfree86/common/xf86Priv.h b/hw/xfree86/common/xf86Priv.h index 6e374eb7e..ad3f2b9f9 100644 --- a/hw/xfree86/common/xf86Priv.h +++ b/hw/xfree86/common/xf86Priv.h @@ -86,7 +86,7 @@ extern _X_EXPORT serverLayoutRec xf86ConfigLayout; extern _X_EXPORT DriverPtr *xf86DriverList; extern _X_EXPORT int xf86NumDrivers; extern _X_EXPORT Bool xf86Resetting; -extern _X_EXPORT Bool xf86Initialising; +extern Bool xf86Initialising; extern _X_EXPORT int xf86NumScreens; extern _X_EXPORT const char *xf86VisualNames[]; extern _X_EXPORT int xf86Verbose; /* verbosity level */ diff --git a/hw/xfree86/doc/ddxDesign.xml b/hw/xfree86/doc/ddxDesign.xml index 53647d066..f7d66285e 100644 --- a/hw/xfree86/doc/ddxDesign.xml +++ b/hw/xfree86/doc/ddxDesign.xml @@ -2052,18 +2052,6 @@ functions is as follows: -
- - Bool xf86ServerIsInitialising(); - -
- Returns TRUE if the server is at the beginning of - a generation and is in the process of initialising, and - FALSE otherwise. -
- -
-
Bool xf86ServerIsOnlyProbing();