diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-01-05 18:47:48 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-01-05 18:47:48 -0800 |
commit | 70582d8282ce8ff4a604ac337a047da3e3cf6230 (patch) | |
tree | d99e25948f9178888dbcd6142e50dc91e18c7c7d /src/ast_vgatool.c | |
parent | 338ec0a2170ea3e631cd0e7a997e4fcc28b0f646 (diff) |
Handle 12 -Wmissing-prototypes warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/ast_vgatool.c')
-rw-r--r-- | src/ast_vgatool.c | 24 |
1 files changed, 12 insertions, 12 deletions
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; |