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:
parent
b8ff7d03d3
commit
750f0374bc
1 changed files with 2 additions and 5 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue