2004-04-23 19:54:30 +00:00
|
|
|
/* $XFree86$ */
|
2003-11-14 16:48:57 +00:00
|
|
|
|
2005-07-03 07:02:09 +00:00
|
|
|
#ifdef HAVE_XORG_CONFIG_H
|
|
|
|
|
#include <xorg-config.h>
|
|
|
|
|
#endif
|
|
|
|
|
|
2005-04-20 12:25:48 +00:00
|
|
|
#include <X11/X.h>
|
2005-07-03 08:53:54 +00:00
|
|
|
#include "os.h"
|
2003-11-14 16:48:57 +00:00
|
|
|
#include "xf86.h"
|
|
|
|
|
#include "xf86Priv.h"
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Utility functions required by libxf86_os.
|
|
|
|
|
*/
|
|
|
|
|
|
2006-02-15 20:44:13 +00:00
|
|
|
_X_EXPORT void
|
2003-11-14 16:48:57 +00:00
|
|
|
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);
|
|
|
|
|
}
|
|
|
|
|
|