io: unexport ReadFdFromClient()
Not used by any drivers (and really shouldn't be used by them), so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
0d899a6ba7
commit
902320eeac
|
|
@ -46,6 +46,7 @@ in this Software without prior written authorization from The Open Group.
|
|||
#include "miext/extinit_priv.h"
|
||||
#include "os/auth.h"
|
||||
#include "os/busfault.h"
|
||||
#include "os/io_priv.h"
|
||||
#include "os/log_priv.h"
|
||||
#include "os/osdep.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@
|
|||
#include <unistd.h>
|
||||
|
||||
#include "dix/dix_priv.h"
|
||||
#include "os/io_priv.h"
|
||||
|
||||
#include "dri3_priv.h"
|
||||
#include <syncsrv.h>
|
||||
|
|
|
|||
|
|
@ -86,8 +86,6 @@ typedef struct _NewClientRec *NewClientPtr;
|
|||
|
||||
extern _X_EXPORT int ReadRequestFromClient(ClientPtr /*client */ );
|
||||
|
||||
extern _X_EXPORT int ReadFdFromClient(ClientPtr client);
|
||||
|
||||
extern _X_EXPORT int WriteFdToClient(ClientPtr client, int fd, Bool do_close);
|
||||
|
||||
extern _X_EXPORT Bool InsertFakeRequest(ClientPtr /*client */ ,
|
||||
|
|
|
|||
1
os/io.c
1
os/io.c
|
|
@ -74,6 +74,7 @@ SOFTWARE.
|
|||
#include <X11/Xproto.h>
|
||||
|
||||
#include "dix/dix_priv.h"
|
||||
#include "os/io_priv.h"
|
||||
|
||||
#include "os.h"
|
||||
#include "osdep.h"
|
||||
|
|
|
|||
|
|
@ -0,0 +1,17 @@
|
|||
/* SPDX-License-Identifier: MIT OR X11
|
||||
*
|
||||
* Copyright © 2024 Enrico Weigelt, metux IT consult <info@metux.net>
|
||||
*/
|
||||
#ifndef __XORG_OS_IO_H
|
||||
#define __XORG_OS_IO_H
|
||||
|
||||
#include "include/os.h"
|
||||
|
||||
/**
|
||||
* Read an file descriptor that client should have sent (along with request).
|
||||
*
|
||||
* Caller must have set the number of expected FDs via SetReqFds() before.
|
||||
*/
|
||||
int ReadFdFromClient(ClientPtr client);
|
||||
|
||||
#endif /* __XORG_OS_IO_H */
|
||||
Loading…
Reference in New Issue