Commit 5ed13908 authored by Michael Cook's avatar Michael Cook

Fix warnings

parent c508d51b
......@@ -44,6 +44,7 @@
#include <linux/prctl.h>
#include "common/config/config_userapi.h"
#include <time.h>
#include <sys/time.h>
// main log variables
log_mem_cnt_t log_mem_d[2];
......
......@@ -971,17 +971,6 @@ void ue_stub_rx_handler(unsigned int num_bytes,
}
}
static uint64_t clock_usec(void);
static uint64_t clock_usec()
{
struct timespec t;
if (clock_gettime(CLOCK_MONOTONIC, &t) == -1) {
abort();
}
return (uint64_t)t.tv_sec * 1000000 + (t.tv_nsec / 1000);
}
/*!
* \brief This is the UE thread for RX subframe n and TX subframe n+4.
* This thread performs the phy_procedures_UE_RX() on every received slot.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment