[PATCH 3/4] Make FreeConnInfo static

Adam Jackson ajax at redhat.com
Wed May 18 19:20:42 UTC 2016


libX11 used to need this in the XOpenDisplay code, but hasn't since xcb
became mandatory.

Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 Xtrans.h    | 4 ----
 Xtransint.h | 4 ++++
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Xtrans.h b/Xtrans.h
index 7ed033b..04fc8cb 100644
--- a/Xtrans.h
+++ b/Xtrans.h
@@ -215,10 +215,6 @@ typedef struct _XtransConnInfo *XtransConnInfo;
  * Function prototypes for the exposed interface
  */
 
-void TRANS(FreeConnInfo) (
-    XtransConnInfo 	/* ciptr */
-);
-
 #ifdef TRANS_CLIENT
 
 XtransConnInfo TRANS(OpenCOTSClient)(
diff --git a/Xtransint.h b/Xtransint.h
index 2156bd5..0a5b0e6 100644
--- a/Xtransint.h
+++ b/Xtransint.h
@@ -318,6 +318,10 @@ typedef struct _Xtransport_table {
  * systems, so they may be emulated.
  */
 
+static void TRANS(FreeConnInfo) (
+    XtransConnInfo 	/* ciptr */
+);
+
 #ifdef WIN32
 
 #define READV(ciptr, iov, iovcnt)	TRANS(ReadV)(ciptr, iov, iovcnt)
-- 
2.7.4



More information about the xorg-devel mailing list