mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-24 20:40:04 +01:00
Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings.
Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all
source files in the xserver/xorg tree, predicated on defines of
HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to
<X11/fonts/foo.h>.
27 lines
394 B
C
27 lines
394 B
C
/* $XFree86$ */
|
|
|
|
#ifdef HAVE_XORG_CONFIG_H
|
|
#include <xorg-config.h>
|
|
#endif
|
|
|
|
#include <X11/X.h>
|
|
#include <X11/os.h>
|
|
#include "xf86.h"
|
|
#include "xf86Priv.h"
|
|
|
|
/*
|
|
* Utility functions required by libxf86_os.
|
|
*/
|
|
|
|
void
|
|
FatalError(const char *f, ...)
|
|
{
|
|
va_list args;
|
|
|
|
va_start(args, f);
|
|
fprintf(stderr, "Fatal Error:\n");
|
|
vfprintf(stderr, f, args);
|
|
va_end(args);
|
|
exit(1);
|
|
}
|
|
|