svn commit: r337577 - head/lib/libc/gen

Warner Losh imp at FreeBSD.org
Fri Aug 10 15:16:39 UTC 2018


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:


More information about the svn-src-head mailing list