summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-15 14:52:10 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-17 11:05:30 -0800
commit03ea7ccd154fcf99fd8e79eccc784ff6ae304077 (patch)
tree01c49366b90a3b25c234637f36c39a98af8d9ea1 /src
parent7d75b644aeeac432b4d155f8a7254d8c30cb4aa3 (diff)
Fix 3 -Wmissing-prototypes warnings in tdfx_driver.c
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src')
-rw-r--r--src/tdfx_driver.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tdfx_driver.c b/src/tdfx_driver.c
index 830ce04..4f8756a 100644
--- a/src/tdfx_driver.c
+++ b/src/tdfx_driver.c
@@ -695,7 +695,7 @@ TDFXInitChips(ScrnInfoPtr pScrn)
}
}
-void
+static void
TDFXPutBits(I2CBusPtr b, int scl, int sda)
{
TDFXPtr pTDFX= b->DriverPrivate.ptr;
@@ -708,7 +708,7 @@ TDFXPutBits(I2CBusPtr b, int scl, int sda)
pTDFX->writeLong(pTDFX, VIDSERIALPARALLELPORT, reg);
}
-void
+static void
TDFXGetBits(I2CBusPtr b, int *scl, int *sda)
{
TDFXPtr pTDFX = b->DriverPrivate.ptr;
@@ -719,7 +719,7 @@ TDFXGetBits(I2CBusPtr b, int *scl, int *sda)
*scl = (reg & VSP_SCL0_IN) ? 1 : 0;
}
-Bool TDFXI2cInit(ScrnInfoPtr pScrn)
+static Bool TDFXI2cInit(ScrnInfoPtr pScrn)
{
TDFXPtr pTDFX = TDFXPTR(pScrn);