aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xfree86/dummylib/xf86allocscripi.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/hw/xfree86/dummylib/xf86allocscripi.c')
-rw-r--r--xorg-server/hw/xfree86/dummylib/xf86allocscripi.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/xorg-server/hw/xfree86/dummylib/xf86allocscripi.c b/xorg-server/hw/xfree86/dummylib/xf86allocscripi.c
new file mode 100644
index 000000000..926884884
--- /dev/null
+++ b/xorg-server/hw/xfree86/dummylib/xf86allocscripi.c
@@ -0,0 +1,19 @@
+#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 int
+xf86AllocateScrnInfoPrivateIndex()
+{
+ return -1;
+}
+