summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2006-04-07 21:27:00 +0000
committerAdam Jackson <ajax@nwnk.net>2006-04-07 21:27:00 +0000
commit57dcab65e95003ecabc25fbc4b3c01b8558538fa (patch)
treedbd0929c157723e8955a12924d57b3366a88d2ff /src
parent78d80c93260b9a67c65b12cb5cf4c4e624efc144 (diff)
Unlibcwrap. Bump server version requirement. Bump to 1.1.0.sunffb-1_1_0XORG-7_1
Diffstat (limited to 'src')
-rw-r--r--src/ffb.h1
-rw-r--r--src/ffb_dac.c1
-rw-r--r--src/ffb_ddc.c1
-rw-r--r--src/ffb_dga.c1
-rw-r--r--src/ffb_dri.c3
-rw-r--r--src/ffb_driver.c13
6 files changed, 9 insertions, 11 deletions
diff --git a/src/ffb.h b/src/ffb.h
index 6dcd3d9..cb21251 100644
--- a/src/ffb.h
+++ b/src/ffb.h
@@ -31,7 +31,6 @@
#include "xf86.h"
#include "xf86_OSproc.h"
-#include "xf86_ansic.h"
#include "xf86RamDac.h"
#include "xaa.h"
#include <X11/Xmd.h>
diff --git a/src/ffb_dac.c b/src/ffb_dac.c
index 92f1e33..fab463d 100644
--- a/src/ffb_dac.c
+++ b/src/ffb_dac.c
@@ -33,7 +33,6 @@
#include "xf86.h"
#include "xf86_OSproc.h"
-#include "xf86_ansic.h"
#include "xf86DDC.h"
diff --git a/src/ffb_ddc.c b/src/ffb_ddc.c
index 3e7be37..b665105 100644
--- a/src/ffb_ddc.c
+++ b/src/ffb_ddc.c
@@ -33,7 +33,6 @@
#include "xf86.h"
#include "xf86_OSproc.h"
-#include "xf86_ansic.h"
#include "xf86DDC.h"
diff --git a/src/ffb_dga.c b/src/ffb_dga.c
index ed5d6ae..0b40b06 100644
--- a/src/ffb_dga.c
+++ b/src/ffb_dga.c
@@ -29,7 +29,6 @@
#include "xf86.h"
#include "xf86_OSproc.h"
-#include "xf86_ansic.h"
#include "dgaproc.h"
#include "ffb.h"
diff --git a/src/ffb_dri.c b/src/ffb_dri.c
index 209a9d3..dd471d4 100644
--- a/src/ffb_dri.c
+++ b/src/ffb_dri.c
@@ -26,9 +26,10 @@
#include "config.h"
#endif
+#include <stdio.h>
+
#include "xf86.h"
#include "xf86_OSproc.h"
-#include "xf86_ansic.h"
#include "xf86Priv.h"
#include "xf86PciInfo.h"
diff --git a/src/ffb_driver.c b/src/ffb_driver.c
index 3bb8cdd..8bd05fc 100644
--- a/src/ffb_driver.c
+++ b/src/ffb_driver.c
@@ -26,9 +26,10 @@
#include "config.h"
#endif
+#include <string.h>
+
#include "xf86.h"
#include "xf86_OSproc.h"
-#include "xf86_ansic.h"
#include "xf86Version.h"
#include "mipointer.h"
#include "mibstore.h"
@@ -66,12 +67,12 @@ extern void FFB_InitDGA(ScreenPtr pScreen);
void FFBSync(ScrnInfoPtr pScrn);
-#define VERSION 4000
+#define FFB_VERSION 4000
#define FFB_NAME "SUNFFB"
#define FFB_DRIVER_NAME "sunffb"
#define FFB_MAJOR_VERSION 1
-#define FFB_MINOR_VERSION 0
-#define FFB_PATCHLEVEL 1
+#define FFB_MINOR_VERSION 1
+#define FFB_PATCHLEVEL 0
/*
* This contains the functions needed by the server after loading the driver
@@ -82,7 +83,7 @@ void FFBSync(ScrnInfoPtr pScrn);
*/
_X_EXPORT DriverRec SUNFFB = {
- VERSION,
+ FFB_VERSION,
FFB_DRIVER_NAME,
FFBIdentify,
FFBProbe,
@@ -265,7 +266,7 @@ FFBProbe(DriverPtr drv, int flags)
pScrn = xf86AllocateScreen(drv, 0);
/* Fill in what we can of the ScrnInfoRec */
- pScrn->driverVersion = VERSION;
+ pScrn->driverVersion = FFB_VERSION;
pScrn->driverName = FFB_DRIVER_NAME;
pScrn->name = FFB_NAME;
pScrn->Probe = FFBProbe;