Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/include namespace protection for the new err functions



details:   https://anonhg.NetBSD.org/src/rev/98df7f4c28fc
branches:  trunk
changeset: 326046:98df7f4c28fc
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jan 16 20:31:18 2014 +0000

description:
namespace protection for the new err functions

diffstat:

 lib/libc/include/namespace.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 047912f5c5fb -r 98df7f4c28fc lib/libc/include/namespace.h
--- a/lib/libc/include/namespace.h      Thu Jan 16 20:28:51 2014 +0000
+++ b/lib/libc/include/namespace.h      Thu Jan 16 20:31:18 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: namespace.h,v 1.171 2014/01/16 19:16:42 joerg Exp $    */
+/*     $NetBSD: namespace.h,v 1.172 2014/01/16 20:31:18 christos Exp $ */
 
 /*-
  * Copyright (c) 1997-2004 The NetBSD Foundation, Inc.
@@ -44,6 +44,7 @@
 #define err            _err
 #define errc           _errc
 #define errx           _errx
+#define errc           _errc
 #ifdef _REENTRANT
 #define fileno         _fileno
 #endif /* _REENTRANT */
@@ -83,12 +84,15 @@
 #define verr           _verr
 #define verrc          _verrc
 #define verrx          _verrx
+#define verrc          _verrc
 #define vwarn          _vwarn
 #define vwarnc         _vwarnc
 #define vwarnx         _vwarnx
+#define vwarnc         _vwarnc
 #define warn           _warn
 #define warnc          _warnc
 #define warnx          _warnx
+#define warnc          _warnc
 
 #ifdef __weak_alias
 #define MD2Data                        _MD2Data



Home | Main Index | Thread Index | Old Index