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 conditionals.



details:   https://anonhg.NetBSD.org/src/rev/4903a1e75d45
branches:  trunk
changeset: 329741:4903a1e75d45
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Jun 06 11:38:41 2014 +0000

description:
Fix conditionals.

diffstat:

 lib/libc/gen/errc.c   |  6 +++---
 lib/libc/gen/verrc.c  |  6 +++---
 lib/libc/gen/vwarnc.c |  6 +++---
 lib/libc/gen/warnc.c  |  6 +++---
 4 files changed, 12 insertions(+), 12 deletions(-)

diffs (108 lines):

diff -r a9ff7d651d0d -r 4903a1e75d45 lib/libc/gen/errc.c
--- a/lib/libc/gen/errc.c       Fri Jun 06 07:08:37 2014 +0000
+++ b/lib/libc/gen/errc.c       Fri Jun 06 11:38:41 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: errc.c,v 1.2 2014/06/06 01:41:00 christos Exp $        */
+/*     $NetBSD: errc.c,v 1.3 2014/06/06 11:38:41 joerg Exp $   */
 
 /*-
  * Copyright (c) 1993
@@ -35,7 +35,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: errc.c,v 1.2 2014/06/06 01:41:00 christos Exp $");
+__RCSID("$NetBSD: errc.c,v 1.3 2014/06/06 11:38:41 joerg Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include "namespace.h"
@@ -46,7 +46,7 @@
 __weak_alias(errc, _errc)
 #endif
 
-#if !defined(HAVE_ERR_H) || !defined(HAVE_DECL_ERRC)
+#if !HAVE_ERR_H || !HAVE_DECL_ERRC
 __dead void
 errc(int eval, int code, const char *fmt, ...)
 {
diff -r a9ff7d651d0d -r 4903a1e75d45 lib/libc/gen/verrc.c
--- a/lib/libc/gen/verrc.c      Fri Jun 06 07:08:37 2014 +0000
+++ b/lib/libc/gen/verrc.c      Fri Jun 06 11:38:41 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: verrc.c,v 1.2 2014/06/06 01:41:00 christos Exp $       */
+/*     $NetBSD: verrc.c,v 1.3 2014/06/06 11:38:41 joerg Exp $  */
 
 /*-
  * Copyright (c) 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)err.c      8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: verrc.c,v 1.2 2014/06/06 01:41:00 christos Exp $");
+__RCSID("$NetBSD: verrc.c,v 1.3 2014/06/06 11:38:41 joerg Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -53,7 +53,7 @@
 __weak_alias(verrc, _verrc)
 #endif
 
-#if !defined(HAVE_ERR_H) || !defined(HAVE_DECL_ERRC)
+#if !HAVE_ERR_H || !HAVE_DECL_ERRC
 __dead void
 verrc(int eval, int code, const char *fmt, va_list ap)
 {
diff -r a9ff7d651d0d -r 4903a1e75d45 lib/libc/gen/vwarnc.c
--- a/lib/libc/gen/vwarnc.c     Fri Jun 06 07:08:37 2014 +0000
+++ b/lib/libc/gen/vwarnc.c     Fri Jun 06 11:38:41 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vwarnc.c,v 1.2 2014/06/06 01:41:00 christos Exp $      */
+/*     $NetBSD: vwarnc.c,v 1.3 2014/06/06 11:38:41 joerg Exp $ */
 
 /*-
  * Copyright (c) 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)err.c      8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: vwarnc.c,v 1.2 2014/06/06 01:41:00 christos Exp $");
+__RCSID("$NetBSD: vwarnc.c,v 1.3 2014/06/06 11:38:41 joerg Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -53,7 +53,7 @@
 __weak_alias(vwarnc, _vwarnc)
 #endif
 
-#if !defined(HAVE_ERR_H) || !defined(HAVE_DECL_VWARNC)
+#if !HAVE_ERR_H || !HAVE_DECL_VWARNC
 void
 vwarnc(int code, const char *fmt, va_list ap)
 {
diff -r a9ff7d651d0d -r 4903a1e75d45 lib/libc/gen/warnc.c
--- a/lib/libc/gen/warnc.c      Fri Jun 06 07:08:37 2014 +0000
+++ b/lib/libc/gen/warnc.c      Fri Jun 06 11:38:41 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: warnc.c,v 1.2 2014/06/06 01:41:00 christos Exp $       */
+/*     $NetBSD: warnc.c,v 1.3 2014/06/06 11:38:41 joerg Exp $  */
 
 /*-
  * Copyright (c) 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)err.c      8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: warnc.c,v 1.2 2014/06/06 01:41:00 christos Exp $");
+__RCSID("$NetBSD: warnc.c,v 1.3 2014/06/06 11:38:41 joerg Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -50,7 +50,7 @@
 __weak_alias(warnc, _warnc)
 #endif
 
-#if !defined(HAVE_ERR_H) || !defined(HAVE_DECL_WARNC)
+#if !HAVE_ERR_H || !HAVE_DECL_WARNC
 void
 warnc(int code, const char *fmt, ...)
 {



Home | Main Index | Thread Index | Old Index