Source-Changes-HG archive

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

[src/trunk]: src/external/cddl/osnet/sys don't re-define __assert.



details:   https://anonhg.NetBSD.org/src/rev/d91a8833d2e5
branches:  trunk
changeset: 812703:d91a8833d2e5
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Dec 27 21:39:34 2015 +0000

description:
don't re-define __assert.

diffstat:

 external/cddl/osnet/sys/assert.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r c8aa3470fd06 -r d91a8833d2e5 external/cddl/osnet/sys/assert.h
--- a/external/cddl/osnet/sys/assert.h  Sun Dec 27 21:39:01 2015 +0000
+++ b/external/cddl/osnet/sys/assert.h  Sun Dec 27 21:39:34 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: assert.h,v 1.1 2009/08/07 20:57:57 haad Exp $  */
+/*     $NetBSD: assert.h,v 1.2 2015/12/27 21:39:34 christos Exp $      */
 
 /*-
  * Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -31,4 +31,6 @@
 
 #include_next "assert.h"
 
+#ifndef __assert
 #define __assert(a, b, c)       __assert(a, c, b)
+#endif



Home | Main Index | Thread Index | Old Index