forked from Ocean/datum_gateway
utils: Delete unused current_time_nanos
This commit is contained in:
parent
7a7587ad8c
commit
edf956f46d
@ -132,13 +132,6 @@ uint64_t current_time_micros(void) {
|
||||
return microseconds;
|
||||
}
|
||||
|
||||
uint64_t current_time_nanos(void) {
|
||||
struct timespec te;
|
||||
clock_gettime(CLOCK_REALTIME, &te);
|
||||
uint64_t nanoseconds = te.tv_sec * 1000000000LL + te.tv_nsec; // calculate nanoseconds
|
||||
return nanoseconds;
|
||||
}
|
||||
|
||||
unsigned char hex_lookup[65536];
|
||||
unsigned short uchar_hex_lookup[256];
|
||||
|
||||
|
@ -42,7 +42,6 @@
|
||||
|
||||
void datum_utils_init(void);
|
||||
uint64_t current_time_millis(void);
|
||||
uint64_t current_time_nanos(void);
|
||||
uint64_t current_time_micros(void);
|
||||
unsigned char hex2bin_uchar(const char *in);
|
||||
void build_hex_lookup(void);
|
||||
|
Loading…
Reference in New Issue
Block a user