summaryrefslogtreecommitdiff
path: root/src/atii2c.c
diff options
context:
space:
mode:
authorBenjamin Valentin <benjamin.valentin@ml-pa.com>2022-11-25 16:29:07 +0100
committerBenjamin Valentin <benjamin.valentin@ml-pa.com>2022-11-25 16:29:07 +0100
commit64e2dee483c8d2a87ad5076694f9996222580a04 (patch)
treed97336f176f1b8095af5a8adbbc3b1049e658bf3 /src/atii2c.c
parentba223c5dc8f367a20ff8a91ab6c7208218e18080 (diff)
fix some build warnings
Modern gcc complains about misleading indentation and multiple function definitions, so let's fix those. Signed-off-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
Diffstat (limited to 'src/atii2c.c')
-rw-r--r--src/atii2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/atii2c.c b/src/atii2c.c
index 6e3a7ef..72b7eac 100644
--- a/src/atii2c.c
+++ b/src/atii2c.c
@@ -315,7 +315,7 @@ ATICreateI2CBusRec
(
int iScreen,
ATIPtr pATI,
- char *BusName
+ const char *BusName
)
{
I2CBusPtr pI2CBus;