From: Ben Gras Date: Sat, 26 Jun 2010 02:37:17 +0000 (+0000) Subject: getsubopt: use regular assert()s X-Git-Tag: v3.1.8~343 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/doxygen.log?a=commitdiff_plain;h=01b5238d50203a934d0288231a0857deee6889a8;p=minix.git getsubopt: use regular assert()s --- diff --git a/lib/libc/other/getsubopt.c b/lib/libc/other/getsubopt.c index 765f59562..b50ee6649 100644 --- a/lib/libc/other/getsubopt.c +++ b/lib/libc/other/getsubopt.c @@ -54,8 +54,8 @@ getsubopt(optionp, tokens, valuep) int cnt; char *p; - _DIAGASSERT(tokens != NULL); - _DIAGASSERT(valuep != NULL); + assert(tokens != NULL); + assert(valuep != NULL); /* optionp is tested below */ suboptarg = *valuep = NULL;