diff options
author | marha <marha@users.sourceforge.net> | 2010-01-08 13:59:32 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-01-08 13:59:32 +0000 |
commit | 1ae1f3dee798a8468a415eaa8f1da78e9d3fbae8 (patch) | |
tree | 5ff2d27dc0c94b02beedeb4551f677691e606352 /xorg-server/hw/kdrive/fbdev/fbinit.c | |
parent | d5ac51b006c039894e4e35102a8e182d21a52efc (diff) | |
parent | 91a30d5622174febaa2107b010effcf2fb5b9a2e (diff) | |
download | vcxsrv-1ae1f3dee798a8468a415eaa8f1da78e9d3fbae8.tar.gz vcxsrv-1ae1f3dee798a8468a415eaa8f1da78e9d3fbae8.tar.bz2 vcxsrv-1ae1f3dee798a8468a415eaa8f1da78e9d3fbae8.zip |
svn merge ^/branches/released
Diffstat (limited to 'xorg-server/hw/kdrive/fbdev/fbinit.c')
-rw-r--r-- | xorg-server/hw/kdrive/fbdev/fbinit.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/xorg-server/hw/kdrive/fbdev/fbinit.c b/xorg-server/hw/kdrive/fbdev/fbinit.c index de80c79aa..93646f6d7 100644 --- a/xorg-server/hw/kdrive/fbdev/fbinit.c +++ b/xorg-server/hw/kdrive/fbdev/fbinit.c @@ -28,9 +28,7 @@ void InitCard (char *name) { - KdCardAttr attr; - - KdCardInfoAdd (&fbdevFuncs, &attr, 0); + KdCardInfoAdd (&fbdevFuncs, 0); } void @@ -60,11 +58,11 @@ ddxProcessArgument (int argc, char **argv, int i) { if (!strcmp (argv[i], "-fb")) { - if (i+1 < argc) + if (i+1 < argc) { fbdevDevicePath = argv[i+1]; return 2; - } + } UseMsg(); exit(1); } @@ -86,18 +84,18 @@ KdCardFuncs fbdevFuncs = { fbdevRestore, /* restore */ fbdevScreenFini, /* scrfini */ fbdevCardFini, /* cardfini */ - + 0, /* initCursor */ 0, /* enableCursor */ 0, /* disableCursor */ 0, /* finiCursor */ 0, /* recolorCursor */ - + 0, /* initAccel */ 0, /* enableAccel */ 0, /* disableAccel */ 0, /* finiAccel */ - + fbdevGetColors, /* getColors */ fbdevPutColors, /* putColors */ }; |