summaryrefslogtreecommitdiff
path: root/hw/xfree86/dummylib/xf86errorf.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/dummylib/xf86errorf.c')
-rw-r--r--hw/xfree86/dummylib/xf86errorf.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/hw/xfree86/dummylib/xf86errorf.c b/hw/xfree86/dummylib/xf86errorf.c
new file mode 100644
index 000000000..072f639ca
--- /dev/null
+++ b/hw/xfree86/dummylib/xf86errorf.c
@@ -0,0 +1,31 @@
+/* $XFree86: xc/programs/Xserver/hw/xfree86/dummylib/xf86errorf.c,v 1.2 2000/05/31 07:15:05 eich Exp $ */
+
+#include "X.h"
+#include "os.h"
+#include "xf86.h"
+#include "xf86Priv.h"
+#include "dummylib.h"
+
+/*
+ * Utility functions required by libxf86_os.
+ */
+
+void
+xf86ErrorF(const char *format, ...)
+{
+ va_list ap;
+
+ va_start(ap, format);
+ VErrorFVerb(1, format, ap);
+ va_end(ap);
+}
+
+void
+ErrorF(const char *format, ...)
+{
+ va_list ap;
+
+ va_start(ap, format);
+ VErrorFVerb(1, format, ap);
+ va_end(ap);
+}