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

Apply PR suggestions about style and import criteria

Signed-off-by: Leonardo Carreras <leonardo.carreras@eonerc.rwth-aachen.de>
This commit is contained in:
Leonardo Carreras 2025-02-05 00:26:09 +00:00 committed by Steffen Vogel
parent 94fcaa3dd7
commit 6a4b0d8df5
2 changed files with 3 additions and 3 deletions

View file

@ -32,7 +32,7 @@
#endif
#ifndef CLOCK_MONOTONIC_RAW
#define CLOCK_MONOTONIC_RAW CLOCK_MONOTONIC // Fallback for macOS/BSD
#define CLOCK_MONOTONIC_RAW CLOCK_MONOTONIC // Fallback for Darwin/BSD
#endif
#endif
@ -51,7 +51,7 @@ __attribute__((unused)) static uint64_t tsc_now(struct Tsc *t) {
return t->rdtscp_supported ? __rdtscp(&tsc_aux) : __rdtsc();
}
#else
// Fallback for CLOCK_MONOTONIC_RAW (linux/BSD/mac specific)
// Fallback for CLOCK_MONOTONIC_RAW (Linux/Darwin/BSD specific)
__attribute__((unused)) static uint64_t tsc_now(struct Tsc *t) {
struct timespec ts;
clock_gettime(CLOCK_MONOTONIC_RAW, &ts);

View file

@ -58,7 +58,7 @@ RUN apt-get update && \
libnice-dev \
libmodbus-dev \
libre2-dev \
libglib2.0-0 libglib2.0-dev \
libglib2.0-dev \
libcriterion-dev
# Add local and 64-bit locations to linker paths