summaryrefslogtreecommitdiff
path: root/lib/libc/gen/vis.c
diff options
context:
space:
mode:
authortv <tv@NetBSD.org>2002-01-31 22:43:33 +0000
committertv <tv@NetBSD.org>2002-01-31 22:43:33 +0000
commit9fbd88883c38d0c0fbfcbe66d76fe6b0fab3f9de (patch)
treeba0b5c4693e010d837ac72c604288b00e83366c4 /lib/libc/gen/vis.c
parent95407c5758ea80fc57ab5e021950b3acb7d729fc (diff)
Roll in fixes to permit cross-compiling from non-NetBSD hosts. This
round has been tested on Solaris/x86 and Linux hosts. * Add host tools cap_mkdb, ctags, m4, uudecode. * Protect __RCSID() and __COPYRIGHT() better. * Reduce the number of places that need to include "config.h", to keep sources closer to their "vanilla" versions. * Add more compat #defines and autoconf-checked functions.
Diffstat (limited to 'lib/libc/gen/vis.c')
-rw-r--r--lib/libc/gen/vis.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/lib/libc/gen/vis.c b/lib/libc/gen/vis.c
index d1d336e7792..17a6625f5f3 100644
--- a/lib/libc/gen/vis.c
+++ b/lib/libc/gen/vis.c
@@ -1,4 +1,4 @@
-/* $NetBSD: vis.c,v 1.20 2002/01/21 21:33:42 tv Exp $ */
+/* $NetBSD: vis.c,v 1.21 2002/01/31 22:43:39 tv Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -34,13 +34,10 @@
* SUCH DAMAGE.
*/
-#if HAVE_CONFIG_H
-#include "config.h"
-#else
#include <sys/cdefs.h>
-#if !defined(lint)
-__RCSID("$NetBSD: vis.c,v 1.20 2002/01/21 21:33:42 tv Exp $");
-#endif /* not lint */
+#if defined(LIBC_SCCS) && !defined(lint)
+__RCSID("$NetBSD: vis.c,v 1.21 2002/01/31 22:43:39 tv Exp $");
+#endif /* LIBC_SCCS and not lint */
#include "namespace.h"
#include <sys/types.h>
@@ -56,7 +53,6 @@ __weak_alias(strvisx,_strvisx)
__weak_alias(svis,_svis)
__weak_alias(vis,_vis)
#endif
-#endif
#if !HAVE_VIS_H
#include <ctype.h>