Author: imp Date: Fri Aug 10 15:16:36 2018 New Revision: 337577 URL: https://svnweb.freebsd.org/changeset/base/337577
Log: Remove assert.h and commented out _DIAGASSERT. Remove assert.h and _DIAGASSERT to create a paper-trail of changes from NetBSD. Specifically didn't fix other style issues since I don't want this to diverge from the NetBSD original too much and that's too niggling a change to be worth future merge hassles. Differential Review: https://reviews.freebsd.org/D16649 Modified: head/lib/libc/gen/timespec_get.c Modified: head/lib/libc/gen/timespec_get.c ============================================================================== --- head/lib/libc/gen/timespec_get.c Fri Aug 10 15:16:30 2018 (r337576) +++ head/lib/libc/gen/timespec_get.c Fri Aug 10 15:16:36 2018 (r337577) @@ -33,7 +33,6 @@ __RCSID("$NetBSD: timespec_get.c,v 1.2 2016/10/04 12:48:15 christos Exp $"); __FBSDID("$FreeBSD$"); -#include <assert.h> #include <time.h> /* ISO/IEC 9899:201x 7.27.2.5 The timespec_get function */ @@ -41,8 +40,6 @@ __FBSDID("$FreeBSD$"); int timespec_get(struct timespec *ts, int base) { - -/* _DIAGASSERT(ts != NULL); */ switch (base) { case TIME_UTC: _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"