summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-15 13:27:06 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-17 10:55:27 -0800
commit7fe95072683fe551abf986c3bd6c99600bc87856 (patch)
treea4a6f4b3e98691485017433851f52869d181425f
parentfb7725270c3b23fbf9d8b54a1b3a7eaae75ab604 (diff)
Fix warning: no previous prototype for ‘FFB_InitDGA’ [-Wmissing-prototypes]
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/ffb.h2
-rw-r--r--src/ffb_driver.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ffb.h b/src/ffb.h
index d870240..b8c59d6 100644
--- a/src/ffb.h
+++ b/src/ffb.h
@@ -244,6 +244,8 @@ extern void FFBWidChangeBuffer(FFBPtr, unsigned int, int);
/* Accelerated double-buffering. */
extern Bool FFBDbePreInit(ScreenPtr);
+extern void FFB_InitDGA(ScreenPtr pScreen);
+
/* The fastfill and pagefill buffer sizes change based upon
* the resolution.
*/
diff --git a/src/ffb_driver.c b/src/ffb_driver.c
index 7f17d64..b49f146 100644
--- a/src/ffb_driver.c
+++ b/src/ffb_driver.c
@@ -58,8 +58,6 @@ static void FFBFreeScreen(FREE_SCREEN_ARGS_DECL);
static ModeStatus FFBValidMode(SCRN_ARG_TYPE arg, DisplayModePtr mode,
Bool verbose, int flags);
static void FFBDPMSMode(ScrnInfoPtr pScrn, int DPMSMode, int flags);
-/* ffb_dga.c */
-extern void FFB_InitDGA(ScreenPtr pScreen);
void FFBSync(ScrnInfoPtr pScrn);