[PATCH:xfs 3/3] Delete XpClient stubs

Alan Coopersmith alan.coopersmith at oracle.com
Fri May 23 18:04:11 PDT 2014


Xprint support stubs were required for libXfont prior to removal
of Xprint support in libXfont commit e1927f80deabe in 2009, but
are no longer needed.

Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
 difs/difsutils.c    |   12 ------------
 include/difsutils.h |    2 --
 2 files changed, 14 deletions(-)

diff --git a/difs/difsutils.c b/difs/difsutils.c
index 7e350c6..0aef29a 100644
--- a/difs/difsutils.c
+++ b/difs/difsutils.c
@@ -177,18 +177,6 @@ GetDefaultPointSize(void)
 	return default_point_size;
 }
 
-Bool
-XpClientIsBitmapClient(ClientPtr client)
-{
-    return TRUE;
-}
-
-Bool
-XpClientIsPrintClient(ClientPtr client, FontPathElementPtr fpe)
-{
-    return FALSE;
-}
-
 int
 strncmpnocase(
     const char *first,
diff --git a/include/difsutils.h b/include/difsutils.h
index efc785c..68e6f0e 100644
--- a/include/difsutils.h
+++ b/include/difsutils.h
@@ -41,8 +41,6 @@ extern Bool ClientSleep (ClientPtr client, Bool (*function) (ClientPtr, pointer)
 extern Bool QueueWorkProc (DifsWorkFunc function, ClientPtr client, pointer data);
 extern Bool RegisterBlockAndWakeupHandlers (BlockHandlerProcPtr blockHandler, DifsWakeupFunc wakeupHandler, pointer blockData);
 #if 0
-extern Bool XpClientIsBitmapClient (ClientPtr client);
-extern Bool XpClientIsPrintClient (ClientPtr client, FontPathElementPtr fpe);
 extern FontResolutionPtr GetClientResolutions (int *num);
 #endif
 #if 0
-- 
1.7.9.2



More information about the xorg-devel mailing list