diff options
author | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-03-11 18:47:37 +0100 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-04-16 18:13:11 -0700 |
commit | d18ef33099db2da5a5b4081ed32e117f253fd0bd (patch) | |
tree | 8a4c932735e81e28b1a8c2842f782e9bd4ada04c | |
parent | 4c1795701cb07ed9fe0e6b2a2a62a2e210be2dfb (diff) |
os: unexport OnlyListenToOneClient()
Not used by any drivers, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1385>
-rw-r--r-- | dix/dispatch.c | 1 | ||||
-rw-r--r-- | include/os.h | 2 | ||||
-rw-r--r-- | os/osdep.h | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/dix/dispatch.c b/dix/dispatch.c index b9daec5ca..77d6217a7 100644 --- a/dix/dispatch.c +++ b/dix/dispatch.c @@ -110,6 +110,7 @@ Equipment Corporation. #include "dix/registry_priv.h" #include "dix/screenint_priv.h" #include "os/auth.h" +#include "os/osdep.h" #include "windowstr.h" #include "dixfontstr.h" diff --git a/include/os.h b/include/os.h index 92320d949..f38e6c4d8 100644 --- a/include/os.h +++ b/include/os.h @@ -147,8 +147,6 @@ static inline void RemoveNotifyFd(int fd) (void) SetNotifyFd(fd, NULL, X_NOTIFY_NONE, NULL); } -extern _X_EXPORT int OnlyListenToOneClient(ClientPtr /*client */ ); - extern _X_EXPORT void ListenToAllClients(void); extern _X_EXPORT void IgnoreClient(ClientPtr /*client */ ); diff --git a/os/osdep.h b/os/osdep.h index 318d2b61d..d93a5a926 100644 --- a/os/osdep.h +++ b/os/osdep.h @@ -191,4 +191,6 @@ void OsAbort(void) _X_NORETURN; void MakeClientGrabPervious(ClientPtr client); void MakeClientGrabImpervious(ClientPtr client); +int OnlyListenToOneClient(ClientPtr client); + #endif /* _OSDEP_H_ */ |