Changeset 432a269 in mainline for uspace/lib/posix/assert.h
- Timestamp:
- 2011-09-16T21:13:57Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3a11f17
- Parents:
- c0e53ff (diff), fd07e526 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/assert.h
rc0e53ff r432a269 1 1 /* 2 * Copyright (c) 20 06 Ondrej Palkovsky2 * Copyright (c) 2011 Jiri Zarevucky 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup lib c29 /** @addtogroup libposix 30 30 * @{ 31 31 */ 32 /** @file 32 /** @file Program assertion. 33 33 */ 34 34 35 #ifndef LIBC_NS_OBSOLETE_H_ 36 #define LIBC_NS_OBSOLETE_H_ 35 /* NO include guard on purpose. */ 37 36 38 #include <sys/types.h> 39 #include <task.h> 37 #include "libc/assert.h" 40 38 41 extern int service_obsolete_connect(sysarg_t, sysarg_t, sysarg_t); 42 extern int service_obsolete_connect_blocking(sysarg_t, sysarg_t, 43 sysarg_t); 39 #undef assert 44 40 41 #ifndef NDEBUG 42 #define assert(expr) ((expr) ? (void) 0 : assert_abort(#expr, __FILE__, __LINE__)) 43 #else 44 #define assert(expr) ((void) 0) 45 45 #endif 46 46
Note:
See TracChangeset
for help on using the changeset viewer.