Changeset 34120f10 in mainline for boot/generic/include/assert.h
- Timestamp:
- 2023-10-27T19:38:31Z (15 months ago)
- Branches:
- master, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 63ed840
- Parents:
- c89ae25 (diff), 694ca3d6 (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
-
boot/generic/include/assert.h
rc89ae25 r34120f10 1 1 /* 2 * Copyright (c) 20 06 Ondrej Palkovsky2 * Copyright (c) 2023 Jiří Zárevúcky 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup kernel_generic_mm 30 * @{ 31 */ 32 /** @file 33 */ 29 #ifndef BOOT_ASSERT_H_ 30 #define BOOT_ASSERT_H_ 34 31 35 #ifndef KERN_STDLIB_H_ 36 #define KERN_STDLIB_H_ 32 #define assert(expr) ((void) (expr)) 37 33 38 #include <stddef.h> 39 40 extern void *malloc(size_t) 41 __attribute__((malloc)); 42 extern void *realloc(void *, size_t) 43 __attribute__((warn_unused_result)); 44 extern void free(void *); 45 46 #endif 47 48 /** @} 49 */ 34 #endif /* BOOT_ASSERT_H_ */
Note:
See TracChangeset
for help on using the changeset viewer.