Fix warnings

This commit is contained in:
Michael Cook
2020-07-19 12:24:48 -04:00
parent c508d51b21
commit 5ed1390898
2 changed files with 1 additions and 11 deletions
+1
View File
@@ -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];
-11
View File
@@ -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.