1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

added missing prototype

This commit is contained in:
Steffen Vogel 2017-03-06 19:13:43 -04:00
parent 88805ce491
commit bb6f4e2bbe

View file

@ -11,6 +11,7 @@
#include <stdint.h>
#include <sched.h>
#include <assert.h>
#include <signal.h>
#include <sys/types.h>
#include "log.h"
@ -225,4 +226,7 @@ static inline int log2i(long long x) {
}
/** Sleep with rdtsc */
void rdtsc_sleep(uint64_t nanosecs, uint64_t start);
void rdtsc_sleep(uint64_t nanosecs, uint64_t start);
/** Register a exit callback for program termination (SIGINT / SIGKILL). */
void signals_init(void (*cb)(int signal, siginfo_t *sinfo, void *ctx));