Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/gen Fix previous to actually include config.h.
details: https://anonhg.NetBSD.org/src/rev/cffc9fcad480
branches: trunk
changeset: 521347:cffc9fcad480
user: tv <tv%NetBSD.org@localhost>
date: Mon Jan 28 23:01:43 2002 +0000
description:
Fix previous to actually include config.h.
diffstat:
lib/libc/gen/err.c | 8 +++++---
lib/libc/gen/errx.c | 8 +++++---
lib/libc/gen/verr.c | 8 +++++---
lib/libc/gen/verrx.c | 8 +++++---
lib/libc/gen/vwarn.c | 8 +++++---
lib/libc/gen/vwarnx.c | 8 +++++---
lib/libc/gen/warn.c | 8 +++++---
lib/libc/gen/warnx.c | 8 +++++---
8 files changed, 40 insertions(+), 24 deletions(-)
diffs (224 lines):
diff -r 73a6c983b64b -r cffc9fcad480 lib/libc/gen/err.c
--- a/lib/libc/gen/err.c Mon Jan 28 22:50:06 2002 +0000
+++ b/lib/libc/gen/err.c Mon Jan 28 23:01:43 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: err.c,v 1.17 2002/01/28 22:45:28 tv Exp $ */
+/* $NetBSD: err.c,v 1.18 2002/01/28 23:01:43 tv Exp $ */
/*-
* Copyright (c) 1993
@@ -38,14 +38,16 @@
#if 0
static char sccsid[] = "@(#)err.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: err.c,v 1.17 2002/01/28 22:45:28 tv Exp $");
+__RCSID("$NetBSD: err.c,v 1.18 2002/01/28 23:01:43 tv Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
#ifndef __NO_NAMESPACE_H /* XXX */
#include "namespace.h"
#endif
-#if !HAVE_CONFIG_H
+#if HAVE_CONFIG_H
+#include "config.h"
+#else
#include <err.h>
#endif
diff -r 73a6c983b64b -r cffc9fcad480 lib/libc/gen/errx.c
--- a/lib/libc/gen/errx.c Mon Jan 28 22:50:06 2002 +0000
+++ b/lib/libc/gen/errx.c Mon Jan 28 23:01:43 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: errx.c,v 1.5 2002/01/28 22:45:28 tv Exp $ */
+/* $NetBSD: errx.c,v 1.6 2002/01/28 23:01:43 tv Exp $ */
/*-
* Copyright (c) 1993
@@ -38,14 +38,16 @@
#if 0
static char sccsid[] = "@(#)err.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: errx.c,v 1.5 2002/01/28 22:45:28 tv Exp $");
+__RCSID("$NetBSD: errx.c,v 1.6 2002/01/28 23:01:43 tv Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
#ifndef __NO_NAMESPACE_H /* XXX */
#include "namespace.h"
#endif
-#if !HAVE_CONFIG_H
+#if HAVE_CONFIG_H
+#include "config.h"
+#else
#include <err.h>
#endif
diff -r 73a6c983b64b -r cffc9fcad480 lib/libc/gen/verr.c
--- a/lib/libc/gen/verr.c Mon Jan 28 22:50:06 2002 +0000
+++ b/lib/libc/gen/verr.c Mon Jan 28 23:01:43 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: verr.c,v 1.7 2002/01/28 22:45:28 tv Exp $ */
+/* $NetBSD: verr.c,v 1.8 2002/01/28 23:01:43 tv Exp $ */
/*-
* Copyright (c) 1993
@@ -38,14 +38,16 @@
#if 0
static char sccsid[] = "@(#)err.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: verr.c,v 1.7 2002/01/28 22:45:28 tv Exp $");
+__RCSID("$NetBSD: verr.c,v 1.8 2002/01/28 23:01:43 tv Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
#ifndef __NO_NAMESPACE_H /* XXX */
#include "namespace.h"
#endif
-#if !HAVE_CONFIG_H
+#if HAVE_CONFIG_H
+#include "config.h"
+#else
#include <err.h>
#endif
#include <errno.h>
diff -r 73a6c983b64b -r cffc9fcad480 lib/libc/gen/verrx.c
--- a/lib/libc/gen/verrx.c Mon Jan 28 22:50:06 2002 +0000
+++ b/lib/libc/gen/verrx.c Mon Jan 28 23:01:43 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: verrx.c,v 1.7 2002/01/28 22:45:28 tv Exp $ */
+/* $NetBSD: verrx.c,v 1.8 2002/01/28 23:01:43 tv Exp $ */
/*-
* Copyright (c) 1993
@@ -38,14 +38,16 @@
#if 0
static char sccsid[] = "@(#)err.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: verrx.c,v 1.7 2002/01/28 22:45:28 tv Exp $");
+__RCSID("$NetBSD: verrx.c,v 1.8 2002/01/28 23:01:43 tv Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
#ifndef __NO_NAMESPACE_H /* XXX */
#include "namespace.h"
#endif
-#if !HAVE_CONFIG_H
+#if HAVE_CONFIG_H
+#include "config.h"
+#else
#include <err.h>
#endif
#include <stdio.h>
diff -r 73a6c983b64b -r cffc9fcad480 lib/libc/gen/vwarn.c
--- a/lib/libc/gen/vwarn.c Mon Jan 28 22:50:06 2002 +0000
+++ b/lib/libc/gen/vwarn.c Mon Jan 28 23:01:43 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vwarn.c,v 1.7 2002/01/28 22:45:29 tv Exp $ */
+/* $NetBSD: vwarn.c,v 1.8 2002/01/28 23:01:43 tv Exp $ */
/*-
* Copyright (c) 1993
@@ -38,14 +38,16 @@
#if 0
static char sccsid[] = "@(#)err.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: vwarn.c,v 1.7 2002/01/28 22:45:29 tv Exp $");
+__RCSID("$NetBSD: vwarn.c,v 1.8 2002/01/28 23:01:43 tv Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
#ifndef __NO_NAMESPACE_H /* XXX */
#include "namespace.h"
#endif
-#if !HAVE_CONFIG_H
+#if HAVE_CONFIG_H
+#include "config.h"
+#else
#include <err.h>
#endif
#include <errno.h>
diff -r 73a6c983b64b -r cffc9fcad480 lib/libc/gen/vwarnx.c
--- a/lib/libc/gen/vwarnx.c Mon Jan 28 22:50:06 2002 +0000
+++ b/lib/libc/gen/vwarnx.c Mon Jan 28 23:01:43 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vwarnx.c,v 1.7 2002/01/28 22:45:29 tv Exp $ */
+/* $NetBSD: vwarnx.c,v 1.8 2002/01/28 23:01:43 tv Exp $ */
/*-
* Copyright (c) 1993
@@ -38,14 +38,16 @@
#if 0
static char sccsid[] = "@(#)err.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: vwarnx.c,v 1.7 2002/01/28 22:45:29 tv Exp $");
+__RCSID("$NetBSD: vwarnx.c,v 1.8 2002/01/28 23:01:43 tv Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
#ifndef __NO_NAMESPACE_H /* XXX */
#include "namespace.h"
#endif
-#if !HAVE_CONFIG_H
+#if HAVE_CONFIG_H
+#include "config.h"
+#else
#include <err.h>
#endif
#include <stdio.h>
diff -r 73a6c983b64b -r cffc9fcad480 lib/libc/gen/warn.c
--- a/lib/libc/gen/warn.c Mon Jan 28 22:50:06 2002 +0000
+++ b/lib/libc/gen/warn.c Mon Jan 28 23:01:43 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: warn.c,v 1.5 2002/01/28 22:45:29 tv Exp $ */
+/* $NetBSD: warn.c,v 1.6 2002/01/28 23:01:43 tv Exp $ */
/*-
* Copyright (c) 1993
@@ -38,14 +38,16 @@
#if 0
static char sccsid[] = "@(#)err.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: warn.c,v 1.5 2002/01/28 22:45:29 tv Exp $");
+__RCSID("$NetBSD: warn.c,v 1.6 2002/01/28 23:01:43 tv Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
#ifndef __NO_NAMESPACE_H /* XXX */
#include "namespace.h"
#endif
-#if !HAVE_CONFIG_H
+#if HAVE_CONFIG_H
+#include "config.h"
+#else
#include <err.h>
#endif
diff -r 73a6c983b64b -r cffc9fcad480 lib/libc/gen/warnx.c
--- a/lib/libc/gen/warnx.c Mon Jan 28 22:50:06 2002 +0000
+++ b/lib/libc/gen/warnx.c Mon Jan 28 23:01:43 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: warnx.c,v 1.5 2002/01/28 22:45:29 tv Exp $ */
+/* $NetBSD: warnx.c,v 1.6 2002/01/28 23:01:43 tv Exp $ */
/*-
* Copyright (c) 1993
@@ -38,14 +38,16 @@
#if 0
static char sccsid[] = "@(#)err.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: warnx.c,v 1.5 2002/01/28 22:45:29 tv Exp $");
+__RCSID("$NetBSD: warnx.c,v 1.6 2002/01/28 23:01:43 tv Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
#ifndef __NO_NAMESPACE_H /* XXX */
#include "namespace.h"
#endif
-#if !HAVE_CONFIG_H
+#if HAVE_CONFIG_H
+#include "config.h"
+#else
#include <err.h>
#endif
Home |
Main Index |
Thread Index |
Old Index