diff --git a/lib/libc/gen/timespec_get.c b/lib/libc/gen/timespec_get.c index 61555b4ea053..1dd0147e933d 100644 --- a/lib/libc/gen/timespec_get.c +++ b/lib/libc/gen/timespec_get.c @@ -33,7 +33,6 @@ __RCSID("$NetBSD: timespec_get.c,v 1.2 2016/10/04 12:48:15 christos Exp $"); __FBSDID("$FreeBSD$"); -#include #include /* ISO/IEC 9899:201x 7.27.2.5 The timespec_get function */ @@ -42,8 +41,6 @@ int timespec_get(struct timespec *ts, int base) { -/* _DIAGASSERT(ts != NULL); */ - switch (base) { case TIME_UTC: if (clock_gettime(CLOCK_REALTIME, ts) == -1)