Make functions static that are only accessed from the same compilation unit

Also removed some declarations for undefined functions.
This commit is contained in:
Tobias Brunner
2022-10-05 19:00:46 +02:00
parent c58ba0cb9f
commit 7f46c76125
23 changed files with 29 additions and 70 deletions
+2 -2
View File
@@ -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;