Easy changes for -Wmissing-prototypes

This commit is contained in:
Larry Doolittle
2014-07-10 14:07:30 -07:00
committed by Cary R
parent 850d8c3ee9
commit ae6743cf69
17 changed files with 34 additions and 27 deletions
+2 -2
View File
@@ -57,7 +57,7 @@
/*
* Routine to add the given time to the the total time (high/low).
*/
void add_to_wait_time(uint64_t *high, uint64_t *low, uint64_t c_time)
static void add_to_wait_time(uint64_t *high, uint64_t *low, uint64_t c_time)
{
uint64_t carry = 0U;
@@ -71,7 +71,7 @@ void add_to_wait_time(uint64_t *high, uint64_t *low, uint64_t c_time)
* Routine to divide the given total time (high/low) by the number of
* items to get the average.
*/
uint64_t calc_average_wait_time(uint64_t high, uint64_t low, uint64_t total)
static uint64_t calc_average_wait_time(uint64_t high, uint64_t low, uint64_t total)
{
int bit = 64;
uint64_t result = 0U;