mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-15 06:50:40 +01:00
os: unexport xthread_sigmask
This function isn't used by drivers and there's currently no need to do so, thus keep it out of the public module API. Fixes:30ac756798Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1368> (cherry picked from commit3b7a63e6ae)
This commit is contained in:
parent
e77f414b78
commit
2321632c44
3 changed files with 6 additions and 3 deletions
|
|
@ -59,6 +59,8 @@
|
|||
#include <errno.h>
|
||||
#include <X11/X.h>
|
||||
|
||||
#include "os/osdep.h"
|
||||
|
||||
#include <xserver_poll.h>
|
||||
#include "xf86.h"
|
||||
#include "xf86Priv.h"
|
||||
|
|
|
|||
|
|
@ -714,7 +714,4 @@ xorg_backtrace(void);
|
|||
typedef _sigset_t sigset_t;
|
||||
#endif
|
||||
|
||||
extern _X_EXPORT int
|
||||
xthread_sigmask(int how, const sigset_t *set, sigset_t *oldest);
|
||||
|
||||
#endif /* OS_H */
|
||||
|
|
|
|||
|
|
@ -224,4 +224,8 @@ void AutoResetServer(int sig);
|
|||
/* clone fd so it gets out of our select mask */
|
||||
int os_move_fd(int fd);
|
||||
|
||||
/* set signal mask - either on current thread or whole process,
|
||||
depending on whether multithreading is used */
|
||||
int xthread_sigmask(int how, const sigset_t *set, sigset_t *oldest);
|
||||
|
||||
#endif /* _OSDEP_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue