From 19cf45e2a4699c950d08cc7aa3e4ccfe76e276d6 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Mon, 17 Oct 2022 10:42:37 -0700 Subject: ast_vgatool: Fix -Wold-style-declaration warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ast_vgatool.c:3400:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] void static vGetDefaultSettings(ScrnInfoPtr pScrn) ^~~~ Signed-off-by: Alan Coopersmith --- src/ast_vgatool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ast_vgatool.c b/src/ast_vgatool.c index 7e967f8..e79cd9c 100644 --- a/src/ast_vgatool.c +++ b/src/ast_vgatool.c @@ -3397,7 +3397,7 @@ static void vInitAST2500DRAMReg(ScrnInfoPtr pScrn) } /* vInitAST2500DRAMReg */ -void static vGetDefaultSettings(ScrnInfoPtr pScrn) +static void vGetDefaultSettings(ScrnInfoPtr pScrn) { ASTRecPtr pAST = ASTPTR(pScrn); ULONG ulData; -- cgit v1.2.3