Initial commit
[xorg_rtime.git] / xorg-server-1.4 / hw / xfree86 / dummylib / fatalerror.c
blobe147c7303e6902d0959510578e2a0341af07e86e
1 #ifdef HAVE_XORG_CONFIG_H
2 #include <xorg-config.h>
3 #endif
5 #include <X11/X.h>
6 #include "os.h"
7 #include "xf86.h"
8 #include "xf86Priv.h"
11 * Utility functions required by libxf86_os.
14 _X_EXPORT void
15 FatalError(const char *f, ...)
17 va_list args;
19 va_start(args, f);
20 fprintf(stderr, "Fatal Error:\n");
21 vfprintf(stderr, f, args);
22 va_end(args);
23 exit(1);