summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2016-05-18 12:50:48 -0400
committerAdam Jackson <ajax@redhat.com>2016-05-19 09:28:23 -0400
commit75419e6b6d985ea8796f05d1acb5e154b065c9b9 (patch)
treea71023ba51d800806581ab337ee1e5839e38bf55
parent0794b1b712a90b40e2b019c9edc6f96874493c52 (diff)
downloadxorg-lib-libxtrans-75419e6b6d985ea8796f05d1acb5e154b065c9b9.tar.gz
Make FreeConnInfo static
libX11 used to need this in the XOpenDisplay code, but hasn't since xcb became mandatory. Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--Xtrans.h4
-rw-r--r--Xtransint.h4
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)