diff options
author | Keith Packard <keithp@keithp.com> | 2013-11-07 15:18:28 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-11-11 15:32:07 -0800 |
commit | fc84166e65c35ad75f566b135dcfc305ad5a2fde (patch) | |
tree | d7070f8ac19aaece98245af234b8df76246ea116 /include/os.h | |
parent | a239e6faf3fce848ac0d10c48f8e817db68a493c (diff) |
Get rid of the rest of the FD passing code when XTRANS_SEND_FDS isn't set
req_fds and SetReqFds in include/dixstruct.h
ReadFdFromClient, WriteFdToClient and the FD flushing in os/io.c
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'include/os.h')
-rw-r--r-- | include/os.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/os.h b/include/os.h index 11b219845..450e1a8e8 100644 --- a/include/os.h +++ b/include/os.h @@ -98,9 +98,11 @@ extern _X_EXPORT int WaitForSomething(int * /*pClientsReady */ extern _X_EXPORT int ReadRequestFromClient(ClientPtr /*client */ ); +#if XTRANS_SEND_FDS extern _X_EXPORT int ReadFdFromClient(ClientPtr client); extern _X_EXPORT int WriteFdToClient(ClientPtr client, int fd, Bool do_close); +#endif extern _X_EXPORT Bool InsertFakeRequest(ClientPtr /*client */ , char * /*data */ , |