summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2006-04-07 19:02:07 +0000
committerAdam Jackson <ajax@nwnk.net>2006-04-07 19:02:07 +0000
commitfe1fa4c016202e7e07f4e3143b6cedb7f9e82f9b (patch)
tree3c56108d6606a3d68822f78bf9efebefc5b318a2 /src
parent41a763816d9319680f31690baeab66407cd5f41c (diff)
downloadxorg-driver-xf86-video-fbdev-fe1fa4c016202e7e07f4e3143b6cedb7f9e82f9b.tar.gz
Unlibcwrap. Bump server version requirement. Bump to 0.2.0.fbdev-0_2_0
Diffstat (limited to 'src')
-rw-r--r--src/fbdev.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/fbdev.c b/src/fbdev.c
index f7c0c65..b3bd75f 100644
--- a/src/fbdev.c
+++ b/src/fbdev.c
@@ -9,10 +9,11 @@
#include "config.h"
#endif
+#include <string.h>
+
/* all driver need this */
#include "xf86.h"
#include "xf86_OSproc.h"
-#include "xf86_ansic.h"
#include "mipointer.h"
#include "mibstore.h"
@@ -81,14 +82,14 @@ enum { FBDEV_ROTATE_NONE=0, FBDEV_ROTATE_CW=270, FBDEV_ROTATE_UD=180, FBDEV_ROTA
*/
static int pix24bpp = 0;
-#define VERSION 4000
+#define FBDEV_VERSION 4000
#define FBDEV_NAME "FBDEV"
#define FBDEV_DRIVER_NAME "fbdev"
#define FBDEV_MAJOR_VERSION 0
-#define FBDEV_MINOR_VERSION 1
+#define FBDEV_MINOR_VERSION 2
_X_EXPORT DriverRec FBDEV = {
- VERSION,
+ FBDEV_VERSION,
FBDEV_DRIVER_NAME,
#if 0
"driver for linux framebuffer devices",
@@ -360,7 +361,7 @@ FBDevProbe(DriverPtr drv, int flags)
if (pScrn) {
foundScreen = TRUE;
- pScrn->driverVersion = VERSION;
+ pScrn->driverVersion = FBDEV_VERSION;
pScrn->driverName = FBDEV_DRIVER_NAME;
pScrn->name = FBDEV_NAME;
pScrn->Probe = FBDevProbe;