time: fix function name typo

pull/4626/head
Victor Julien 6 years ago
parent 227e2812f6
commit 6176338d0b

@ -2229,7 +2229,7 @@ void TmThreadsSetThreadTimestamp(const int id, const struct timeval *ts)
} }
#define COPY_TIMESTAMP(src,dst) ((dst)->tv_sec = (src)->tv_sec, (dst)->tv_usec = (src)->tv_usec) // XXX unify with flow-util.h #define COPY_TIMESTAMP(src,dst) ((dst)->tv_sec = (src)->tv_sec, (dst)->tv_usec = (src)->tv_usec) // XXX unify with flow-util.h
void TmreadsGetMinimalTimestamp(struct timeval *ts) void TmThreadsGetMinimalTimestamp(struct timeval *ts)
{ {
struct timeval local, nullts; struct timeval local, nullts;
memset(&local, 0, sizeof(local)); memset(&local, 0, sizeof(local));

@ -241,6 +241,6 @@ void TmThreadsUnregisterThread(const int id);
int TmThreadsInjectPacketsById(Packet **, int id); int TmThreadsInjectPacketsById(Packet **, int id);
void TmThreadsSetThreadTimestamp(const int id, const struct timeval *ts); void TmThreadsSetThreadTimestamp(const int id, const struct timeval *ts);
void TmreadsGetMinimalTimestamp(struct timeval *ts); void TmThreadsGetMinimalTimestamp(struct timeval *ts);
#endif /* __TM_THREADS_H__ */ #endif /* __TM_THREADS_H__ */

@ -159,7 +159,7 @@ void TimeGet(struct timeval *tv)
SCSpinUnlock(&current_time_spinlock); SCSpinUnlock(&current_time_spinlock);
} else { } else {
#endif #endif
TmreadsGetMinimalTimestamp(tv); TmThreadsGetMinimalTimestamp(tv);
#ifdef UNITTESTS #ifdef UNITTESTS
} }
#endif #endif

Loading…
Cancel
Save