summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-10-17 10:42:37 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-10-17 10:53:55 -0700
commit19cf45e2a4699c950d08cc7aa3e4ccfe76e276d6 (patch)
tree8eedf035bac457e76d41cf6aff7c2f01868ea6ad
parent065ed43c44b50231fa2ac9d406727d5149cac27f (diff)
ast_vgatool: Fix -Wold-style-declaration warning
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 <alan.coopersmith@oracle.com>
-rw-r--r--src/ast_vgatool.c2
1 files changed, 1 insertions, 1 deletions
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;