summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/wsetup.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdio/wsetup.c')
-rw-r--r--lib/libc/stdio/wsetup.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/libc/stdio/wsetup.c b/lib/libc/stdio/wsetup.c
index 41a7a61547c..5dde455de5d 100644
--- a/lib/libc/stdio/wsetup.c
+++ b/lib/libc/stdio/wsetup.c
@@ -1,4 +1,4 @@
-/* $NetBSD: wsetup.c,v 1.8 1999/09/16 11:45:32 lukem Exp $ */
+/* $NetBSD: wsetup.c,v 1.9 1999/09/20 04:39:35 lukem Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)wsetup.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: wsetup.c,v 1.8 1999/09/16 11:45:32 lukem Exp $");
+__RCSID("$NetBSD: wsetup.c,v 1.9 1999/09/20 04:39:35 lukem Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -62,12 +62,6 @@ __swsetup(fp)
{
_DIAGASSERT(fp != NULL);
-#ifdef _DIAGNOSTIC
- if (fp == NULL) {
- errno = EBADF;
- return (EOF);
- }
-#endif
/* make sure stdio is set up */
if (!__sdidinit)