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 /util | |
parent | 17d22a0c0f77ce448a6efbafa17e55b335f9f169 (diff) |
Handle 4 -Wmissing-prototypes warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'util')
-rw-r--r-- | util/modClock.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |