Patch by Andreas Faerber:

Replaced single-line comments by multi-line comments for ANSI C
compliance.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25433 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2008-05-10 21:30:34 +00:00
parent bb90c2a603
commit b932012815
27 changed files with 76 additions and 76 deletions
+3 -3
View File
@@ -7,7 +7,7 @@
#undef assert
#ifndef NDEBUG
// defining NDEBUG disables assert() functionality
/* defining NDEBUG disables assert() functionality */
#ifdef __cplusplus
extern "C" {
@@ -26,8 +26,8 @@ extern void __assert_perror_fail(int error, const char *file,
#define assert(assertion) \
((assertion) ? (void)0 : __assert_fail(#assertion, __FILE__, __LINE__, __PRETTY_FUNCTION__))
#else // NDEBUG
# define assert(condition) ;
#else /* NDEBUG */
# define assert(condition) ((void)0)
#endif
#endif /* _ASSERT_H_ */