From 6b54b5cf8086f127aa87096e2bdd2263d1c81683 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 7 Nov 2013 03:49:05 -0800 Subject: Actually disable all of the FD passing code unless XTRANS_SEND_FDS is set Stick all of the functions relating to FD passing inside Signed-off-by: Keith Packard --- Xtrans.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Xtrans.c') diff --git a/Xtrans.c b/Xtrans.c index be9a057..735d7b8 100644 --- a/Xtrans.c +++ b/Xtrans.c @@ -879,6 +879,7 @@ TRANS(Writev) (XtransConnInfo ciptr, struct iovec *buf, int size) return ciptr->transptr->Writev (ciptr, buf, size); } +#if XTRANS_SEND_FDS int TRANS(SendFd) (XtransConnInfo ciptr, int fd, int do_close) { @@ -890,6 +891,7 @@ TRANS(RecvFd) (XtransConnInfo ciptr) { return ciptr->transptr->RecvFd(ciptr); } +#endif int TRANS(Disconnect) (XtransConnInfo ciptr) -- cgit v1.2.3