diff options
| author | lukem <lukem@NetBSD.org> | 1999-09-20 04:38:56 +0000 |
|---|---|---|
| committer | lukem <lukem@NetBSD.org> | 1999-09-20 04:38:56 +0000 |
| commit | d896261208b4610b0c4e86ea95caad3cdc86a4ac (patch) | |
| tree | 9a96db945c9ffba191e3aa4d741cf5d30fbd30f2 /lib/libc/string/strmode.c | |
| parent | f6ae64deff8e64a1acb3e1536bf6b6d06f7bffb9 (diff) | |
back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.
Diffstat (limited to 'lib/libc/string/strmode.c')
| -rw-r--r-- | lib/libc/string/strmode.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/libc/string/strmode.c b/lib/libc/string/strmode.c index 5c442c3e4ce..3ff021f481a 100644 --- a/lib/libc/string/strmode.c +++ b/lib/libc/string/strmode.c @@ -1,4 +1,4 @@ -/* $NetBSD: strmode.c,v 1.10 1999/09/16 11:45:42 lukem Exp $ */ +/* $NetBSD: strmode.c,v 1.11 1999/09/20 04:39:47 lukem Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)strmode.c 8.3 (Berkeley) 8/15/94"; #else -__RCSID("$NetBSD: strmode.c,v 1.10 1999/09/16 11:45:42 lukem Exp $"); +__RCSID("$NetBSD: strmode.c,v 1.11 1999/09/20 04:39:47 lukem Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -55,10 +55,6 @@ strmode(mode, p) { _DIAGASSERT(p != NULL); -#ifdef _DIAGNOSTIC - if (p == NULL) - return; -#endif /* print type */ switch (mode & S_IFMT) { |
