aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xfree86/dummylib/xf86msg.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/hw/xfree86/dummylib/xf86msg.c')
-rw-r--r--xorg-server/hw/xfree86/dummylib/xf86msg.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/xorg-server/hw/xfree86/dummylib/xf86msg.c b/xorg-server/hw/xfree86/dummylib/xf86msg.c
new file mode 100644
index 000000000..ea5bb3560
--- /dev/null
+++ b/xorg-server/hw/xfree86/dummylib/xf86msg.c
@@ -0,0 +1,24 @@
+
+#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.
+ */
+
+_X_EXPORT void
+xf86Msg(MessageType type, const char *format, ...)
+{
+ va_list ap;
+
+ va_start(ap, format);
+ LogVWrite(1, format, ap);
+ va_end(ap);
+}
+