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

fix duplicate extern "C" keyword

This commit is contained in:
Steffen Vogel 2018-07-16 22:19:35 +02:00
parent b8ff7d03d3
commit 750f0374bc

View file

@ -37,10 +37,6 @@ extern "C" {
#include <villas/config.h>
#include <villas/log.h>
#ifdef __cplusplus
extern "C"{
#endif
#ifdef __GNUC__
#define LIKELY(x) __builtin_expect((x),1)
@ -264,7 +260,8 @@ __attribute__((always_inline)) static inline uint64_t rdtsc()
}
/** Get log2 of long long integers */
static inline int log2i(long long x) {
static inline int log2i(long long x)
{
if (x == 0)
return 1;