From 7fe95072683fe551abf986c3bd6c99600bc87856 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Mon, 15 Jan 2024 13:27:06 -0800 Subject: =?UTF-8?q?Fix=20warning:=20no=20previous=20prototype=20for=20?= =?UTF-8?q?=E2=80=98FFB=5FInitDGA=E2=80=99=20[-Wmissing-prototypes]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alan Coopersmith --- src/ffb.h | 2 ++ src/ffb_driver.c | 2 -- 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); -- cgit v1.2.3