Xfbdev: Make char *fbdevDevicePath const
This fixes: hw/kdrive/fbdev/fbdev.c: In function 'fbdevInitialize': hw/kdrive/fbdev/fbdev.c:41:25: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Reviewed-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
b08afbc53c
commit
5c509c360d
|
@ -30,7 +30,7 @@
|
|||
|
||||
extern int KdTsPhyScreen;
|
||||
|
||||
char *fbdevDevicePath = NULL;
|
||||
const char *fbdevDevicePath = NULL;
|
||||
|
||||
static Bool
|
||||
fbdevInitialize(KdCardInfo * card, FbdevPriv * priv)
|
||||
|
|
|
@ -49,7 +49,7 @@ typedef struct _fbdevScrPriv {
|
|||
} FbdevScrPriv;
|
||||
|
||||
extern KdCardFuncs fbdevFuncs;
|
||||
extern char *fbdevDevicePath;
|
||||
extern const char *fbdevDevicePath;
|
||||
|
||||
Bool
|
||||
fbdevCardInit(KdCardInfo * card);
|
||||
|
|
Loading…
Reference in New Issue
Block a user