diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2011-06-26 21:11:42 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2011-06-26 21:11:42 +0000 |
commit | ce0d04db24acb72b49f032b8d1fc1365bc49e6e4 (patch) | |
tree | b9de1ad59952c2f0391cad23e93ee730eea9f977 | |
parent | ee4562abf54851748aca2825a6cd2aa625e40633 (diff) |
half-guard the actual function prototypes.
precludes -Wredundant-declarations with multiple includes.
okay millert@
-rw-r--r-- | include/assert.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/assert.h b/include/assert.h index 62470f5f020..c885a136ab1 100644 --- a/include/assert.h +++ b/include/assert.h @@ -1,4 +1,4 @@ -/* $OpenBSD: assert.h,v 1.12 2006/01/31 10:53:51 hshoexer Exp $ */ +/* $OpenBSD: assert.h,v 1.13 2011/06/26 21:11:41 espie Exp $ */ /* $NetBSD: assert.h,v 1.6 1994/10/26 00:55:44 cgd Exp $ */ /*- @@ -59,7 +59,10 @@ # endif #endif +#ifndef _ASSERT_H_ +#define _ASSERT_H_ __BEGIN_DECLS __dead void __assert(const char *, int, const char *); __dead void __assert2(const char *, int, const char *, const char *); __END_DECLS +#endif |