summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2016-09-01 09:28:58 -0400
committerAdam Jackson <ajax@redhat.com>2016-09-01 09:31:47 -0400
commit2e4c338eda8ec6996b7bacc1d0c7dfe7de925864 (patch)
treef34d63dc9133a8210b7e6d87d6e2d41be603516f
parent3810e026323210df6ec6cf818f01832a63e9fbb9 (diff)
Revert "Make FreeConnInfo static"
<anholt> ajax: 75419e6b6d985ea8796f05d1acb5e154b065c9b9 of xtrans also seems to have broken xtest. And indeed it does, xts5 knows a fair amount about xlib internals for some reason. Whether that's cromulent or not, we want to be able to run automatic tests from top-of-tree, so we can't leave this broken. This reverts commit 75419e6b6d985ea8796f05d1acb5e154b065c9b9. 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 6760632..360b01b 100644
--- a/Xtrans.h
+++ b/Xtrans.h
@@ -215,6 +215,10 @@ 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 0a5b0e6..2156bd5 100644
--- a/Xtransint.h
+++ b/Xtransint.h
@@ -318,10 +318,6 @@ 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)