From 75419e6b6d985ea8796f05d1acb5e154b065c9b9 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 18 May 2016 12:50:48 -0400 Subject: Make FreeConnInfo static libX11 used to need this in the XOpenDisplay code, but hasn't since xcb became mandatory. Reviewed-by: Keith Packard Signed-off-by: Adam Jackson --- 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) -- cgit v1.2.3