From 70582d8282ce8ff4a604ac337a047da3e3cf6230 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 5 Jan 2024 18:47:48 -0800 Subject: Handle 12 -Wmissing-prototypes warnings Signed-off-by: Alan Coopersmith --- src/ast_vgatool.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src') diff --git a/src/ast_vgatool.c b/src/ast_vgatool.c index a22eb6d..f0e5f48 100644 --- a/src/ast_vgatool.c +++ b/src/ast_vgatool.c @@ -3594,7 +3594,7 @@ Bool ASTInitVGA(ScrnInfoPtr pScrn, ULONG Flags) } /* Init VGA */ /* Get EDID */ -void +static void I2CWriteClock(ASTRecPtr pAST, UCHAR data) { UCHAR ujCRB7, jtemp; @@ -3610,7 +3610,7 @@ I2CWriteClock(ASTRecPtr pAST, UCHAR data) } -void +static void I2CWriteData(ASTRecPtr pAST, UCHAR data) { UCHAR volatile ujCRB7, jtemp; @@ -3626,7 +3626,7 @@ I2CWriteData(ASTRecPtr pAST, UCHAR data) } -Bool +static Bool I2CReadClock(ASTRecPtr pAST) { UCHAR volatile ujCRB7; @@ -3637,7 +3637,7 @@ I2CReadClock(ASTRecPtr pAST) return ((ujCRB7 & 0x01) ? 1:0); } -Bool +static Bool I2CReadData(ASTRecPtr pAST) { UCHAR volatile ujCRB7; @@ -3650,7 +3650,7 @@ I2CReadData(ASTRecPtr pAST) } -void +static void I2CDelay(ASTRecPtr pAST) { ULONG i; @@ -3661,7 +3661,7 @@ I2CDelay(ASTRecPtr pAST) } -void +static void I2CStart(ASTRecPtr pAST) { I2CWriteClock(pAST, 0x00); /* Set Clk Low */ @@ -3676,7 +3676,7 @@ I2CStart(ASTRecPtr pAST) I2CDelay(pAST); } -void +static void I2CStop(ASTRecPtr pAST) { I2CWriteClock(pAST, 0x00); /* Set Clk Low */ @@ -3692,7 +3692,7 @@ I2CStop(ASTRecPtr pAST) } -Bool +static Bool CheckACK(ASTRecPtr pAST) { UCHAR Data; @@ -3710,7 +3710,7 @@ CheckACK(ASTRecPtr pAST) } -void +static void SendACK(ASTRecPtr pAST) { @@ -3723,7 +3723,7 @@ SendACK(ASTRecPtr pAST) } -void +static void SendNACK(ASTRecPtr pAST) { @@ -3736,7 +3736,7 @@ SendNACK(ASTRecPtr pAST) } -void +static void SendI2CDataByte(ASTRecPtr pAST, UCHAR data) { UCHAR jData; @@ -3756,7 +3756,7 @@ SendI2CDataByte(ASTRecPtr pAST, UCHAR data) } } -UCHAR +static UCHAR ReceiveI2CDataByte(ASTRecPtr pAST) { UCHAR jData=0, jTempData; -- cgit v1.2.3