From 9f17027980c850c47e9c4f624c4c92d0c335654e Mon Sep 17 00:00:00 2001 From: Jessica Hamilton Date: Thu, 16 Apr 2015 23:03:40 +1200 Subject: [PATCH] assert.h: remove include guards * including assert.h multiple times with NDEBUG varying is perfectly legal, and required by POSIX. --- headers/posix/assert.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/headers/posix/assert.h b/headers/posix/assert.h index b8668925d9..98ada79c15 100644 --- a/headers/posix/assert.h +++ b/headers/posix/assert.h @@ -1,10 +1,7 @@ /* - * Copyright 2004-2012 Haiku, Inc. All Rights Reserved. + * Copyright 2004-2015 Haiku, Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ -#ifndef _ASSERT_H_ -#define _ASSERT_H_ - #undef assert @@ -33,5 +30,3 @@ extern void __assert_perror_fail(int error, const char *file, #else /* NDEBUG */ # define assert(condition) ((void)0) #endif - -#endif /* _ASSERT_H_ */