Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/include avoid multiple declarations.
details: https://anonhg.NetBSD.org/src/rev/8bffe2a4dbce
branches: trunk
changeset: 500920:8bffe2a4dbce
user: christos <christos%NetBSD.org@localhost>
date: Wed Dec 20 18:35:46 2000 +0000
description:
avoid multiple declarations.
diffstat:
include/assert.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 53013280f12f -r 8bffe2a4dbce include/assert.h
--- a/include/assert.h Wed Dec 20 18:35:21 2000 +0000
+++ b/include/assert.h Wed Dec 20 18:35:46 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: assert.h,v 1.10 2000/12/19 14:32:59 kleink Exp $ */
+/* $NetBSD: assert.h,v 1.11 2000/12/20 18:35:46 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -99,9 +99,12 @@
#define __assert_function__ ((const void *)0)
#endif
+#ifndef __ASSERT_DECLARED
+#define __ASSERT_DECLARED
__BEGIN_DECLS
void __assert __P((const char *, int, const char *));
void __assert13 __P((const char *, int, const char *, const char *));
void __diagassert __P((const char *, int, const char *));
void __diagassert13 __P((const char *, int, const char *, const char *));
__END_DECLS
+#endif /* __ASSERT_DECLARED */
Home |
Main Index |
Thread Index |
Old Index