summaryrefslogtreecommitdiff
path: root/include/assert.h
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2000-12-20 18:35:46 +0000
committerchristos <christos@NetBSD.org>2000-12-20 18:35:46 +0000
commitb87a6ffa85c4f52346eae2a07e8eee4c7a560b7d (patch)
treee03dca5d5bd2de8d3b767dc25f653917ef46756c /include/assert.h
parent0b49c77063de37f61e95dd00bab94f56d73c3356 (diff)
avoid multiple declarations.
Diffstat (limited to 'include/assert.h')
-rw-r--r--include/assert.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/assert.h b/include/assert.h
index f8c6e7bd2d6..0616e4bdbea 100644
--- a/include/assert.h
+++ b/include/assert.h
@@ -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 */