Make functions static that are only accessed from the same compilation unit
Also removed some declarations for undefined functions.
This commit is contained in:
@@ -20,12 +20,12 @@
|
||||
#include <utils/debug.h>
|
||||
#include <credentials/keys/private_key.h>
|
||||
|
||||
void start_timing(struct timespec *start)
|
||||
static void start_timing(struct timespec *start)
|
||||
{
|
||||
clock_gettime(CLOCK_THREAD_CPUTIME_ID, start);
|
||||
}
|
||||
|
||||
double end_timing(struct timespec *start)
|
||||
static double end_timing(struct timespec *start)
|
||||
{
|
||||
struct timespec end;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user