summaryrefslogtreecommitdiff
path: root/src/smi.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/smi.h')
-rw-r--r--src/smi.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/smi.h b/src/smi.h
index 5305e54..c31426c 100644
--- a/src/smi.h
+++ b/src/smi.h
@@ -275,7 +275,7 @@ extern int smi_indent;
# define VERBLEV 1
# define ENTER() xf86ErrorFVerb(VERBLEV, "%*c %s\n",\
smi_indent++, '>', __FUNCTION__)
-# define LEAVE(value) \
+# define LEAVE(...) \
do { \
xf86ErrorFVerb(VERBLEV, "%*c %s\n", \
--smi_indent, '<', __FUNCTION__); \
@@ -373,11 +373,6 @@ void SMI_LoadPalette(ScrnInfoPtr pScrn, int numColors, int *indicies,
xf86MonPtr SMI_ddc1(ScrnInfoPtr pScrn);
void SMI_PrintRegs(ScrnInfoPtr pScrn);
-#ifndef HAVE_XMODES
-/* smi_dga.c */
-Bool SMI_DGAInit(ScreenPtr pScrn);
-#endif
-
/* smi_video.c */
void SMI_InitVideo(ScreenPtr pScreen);
CARD32 SMI_AllocateMemory(ScrnInfoPtr pScrn, void **mem_struct, int size);