summaryrefslogtreecommitdiff
path: root/hw/xfree86/dummylib/fatalerror.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-12-04 01:57:46 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-12-04 02:42:28 -0200
commit5dbe70dd52fd8daf8d0797951cc5a758d2c3b44c (patch)
tree3b3c5f1cabfc63049e15fb0d6b9430897cd71175 /hw/xfree86/dummylib/fatalerror.c
parentf841d4e3cccbde02e91c948f5ffb9e32c8c3b3cc (diff)
Remove dummylib.
Only cvt required it, and only used XNF{,c}alloc via xnf{,c}alloc macros. Based on patch by Eric Anholt.
Diffstat (limited to 'hw/xfree86/dummylib/fatalerror.c')
-rw-r--r--hw/xfree86/dummylib/fatalerror.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/hw/xfree86/dummylib/fatalerror.c b/hw/xfree86/dummylib/fatalerror.c
deleted file mode 100644
index bbeda37df..000000000
--- a/hw/xfree86/dummylib/fatalerror.c
+++ /dev/null
@@ -1,25 +0,0 @@
-#ifdef HAVE_XORG_CONFIG_H
-#include <xorg-config.h>
-#endif
-
-#include <X11/X.h>
-#include "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);
-}
-