ref: bb2bc30ad8d68284be6afcab59875655f69b93e9
parent: 39fedb88de812bd2a852aa9d7ba3f578345528b2
author: halfwit <michaelmisch1985@gmail.com>
date: Sat Oct 10 05:28:31 PDT 2020
Make sure to export InfoInit
--- a/x9dev.c
+++ b/x9dev.c
@@ -27,7 +27,7 @@
#include "x9dev.h"
-static void
+void
x9devInfoInit(void)
{
if(initdraw(NULL, 0, "x9dev") < 0)
--- a/x9dev.h
+++ b/x9dev.h
@@ -56,6 +56,7 @@
#define Msize 8192
#define NUMFORMATS (sizeof(formats)/sizeof((formats)[0]))
+typedef (void*) nil
/* NOOPs for now */
#define x9devSaveScreen (void *) NoopDDA
@@ -108,6 +109,7 @@
/* Callbacks, etc */
Bool x9checkmod(unsigned int, DeviceIntPtr);
Bool x9devScreenInit(ScreenPtr, int, char **);
+void x9devInfoInit(void);
int x9devKeybdProc(DeviceIntPtr, int);
int x9devMouseProc(DeviceIntPtr, int);
int x9devMouseHandle(void);