diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-01-15 13:27:06 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-01-17 10:55:27 -0800 |
commit | 7fe95072683fe551abf986c3bd6c99600bc87856 (patch) | |
tree | a4a6f4b3e98691485017433851f52869d181425f | |
parent | fb7725270c3b23fbf9d8b54a1b3a7eaae75ab604 (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.h | 2 | ||||
-rw-r--r-- | src/ffb_driver.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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); |