diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-01-06 09:19:19 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-01-06 09:19:19 -0800 |
commit | 009e8cd65600eff56a97b178da66051543aa7a28 (patch) | |
tree | ff12fca5b802a9a13aefe2c5c951b33964b0bdc7 | |
parent | 17d22a0c0f77ce448a6efbafa17e55b335f9f169 (diff) |
Handle 4 -Wmissing-prototypes warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | src/ct_regs.c | 2 | ||||
-rw-r--r-- | util/modClock.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/ct_regs.c b/src/ct_regs.c index 4446b33..5ae521f 100644 --- a/src/ct_regs.c +++ b/src/ct_regs.c @@ -109,7 +109,7 @@ /* * PIO Access to the C&T extension registers */ -void +static void chipsStdWriteXR(CHIPSPtr cPtr, CARD8 index, CARD8 value) { outb(cPtr->PIOBase + CHIPS_XR_INDEX, index); diff --git a/util/modClock.c b/util/modClock.c index 20edbbd..e39fd42 100644 --- a/util/modClock.c +++ b/util/modClock.c @@ -37,7 +37,7 @@ #define MemClk 1 #define IS_MemClk(X) X&0x1 -int compute_clock ( +static int compute_clock ( unsigned int ChipType, double target, double Fref, @@ -161,7 +161,7 @@ int compute_clock ( return 1; } -int set_clock( +static int set_clock( unsigned int ChipType, unsigned int ClockType, unsigned int ProgClock, @@ -230,7 +230,7 @@ int set_clock( return 0; } -unsigned int probe_chip(void) { +static unsigned int probe_chip(void) { unsigned int ChipType, temp; |