Commit 9ad12fa7 authored by Andreas Schmidt's avatar Andreas Schmidt

Remove unused methods for clock.

parent 86f60908
Pipeline #968 passed with stages
in 55 seconds
......@@ -77,22 +77,3 @@ void PrrtClock_init(PrrtClock *clock)
clock->skew = 0;
}
PrrtClock *PrrtClock_create()
{
PrrtClock *clock = (PrrtClock *) calloc(1, sizeof(PrrtClock));
check_mem(clock);
PrrtClock_init(clock);
return clock;
error:
PERROR("Could not create clock.%s", "");
return NULL;
}
bool PrrtClock_destroy(PrrtClock *clock)
{
free(clock);
return true;
}
......@@ -16,9 +16,7 @@ typedef struct prrtClock {
} PrrtClock;
PrrtClock* PrrtClock_create(void);
void PrrtClock_init(PrrtClock *clock);
bool PrrtClock_destroy(PrrtClock* clock);
prrtTimestamp_t PrrtClock_get_current_time_us(void);
......
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