mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-15 10:20:37 +01:00
os: unexport OsVendorVErrorFProc pointer
This pointer allows a DDX to install it's own error print handler. It's really
only intended for DDXes, thus no need to have it exported to modules.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1369>
(cherry picked from commit 76d01e9bf6)
This commit is contained in:
parent
48490209d2
commit
e50bf99ec4
4 changed files with 11 additions and 6 deletions
|
|
@ -31,6 +31,9 @@ from The Open Group.
|
|||
#ifdef HAVE_XWIN_CONFIG_H
|
||||
#include <xwin-config.h>
|
||||
#endif
|
||||
|
||||
#include "os/osdep.h"
|
||||
|
||||
#include "win.h"
|
||||
#include "winmsg.h"
|
||||
#include "winconfig.h"
|
||||
|
|
|
|||
|
|
@ -35,6 +35,8 @@ from The Open Group.
|
|||
#include <sys/utsname.h>
|
||||
#endif
|
||||
|
||||
#include "os/osdep.h"
|
||||
|
||||
#include <../xfree86/common/xorgVersion.h>
|
||||
#include "win.h"
|
||||
#include "winconfig.h"
|
||||
|
|
|
|||
|
|
@ -93,12 +93,6 @@ typedef struct _NewClientRec *NewClientPtr;
|
|||
extern void ddxBeforeReset(void);
|
||||
#endif
|
||||
|
||||
#ifdef DDXOSVERRORF
|
||||
extern _X_EXPORT void (*OsVendorVErrorFProc) (const char *,
|
||||
va_list args)
|
||||
_X_ATTRIBUTE_PRINTF(1, 0);
|
||||
#endif
|
||||
|
||||
extern _X_EXPORT Bool WaitForSomething(Bool clients_are_ready);
|
||||
|
||||
extern _X_EXPORT int ReadRequestFromClient(ClientPtr /*client */ );
|
||||
|
|
|
|||
|
|
@ -236,4 +236,10 @@ Bool OsLookupColor(int screen,
|
|||
depending on whether multithreading is used */
|
||||
int xthread_sigmask(int how, const sigset_t *set, sigset_t *oldest);
|
||||
|
||||
#ifdef DDXOSVERRORF
|
||||
/* callback for DDX specific error printing, if any (may be NULL) */
|
||||
extern void (*OsVendorVErrorFProc) (const char *, va_list args)
|
||||
_X_ATTRIBUTE_PRINTF(1, 0);
|
||||
#endif
|
||||
|
||||
#endif /* _OSDEP_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue