Changeset 630b9d35 in mainline for kernel/generic/include/memstr.h
- Timestamp:
- 2014-04-21T11:19:29Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 170e181
- Parents:
- 5792d6e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/memstr.h
r5792d6e r630b9d35 37 37 38 38 #include <typedefs.h> 39 #include <cc.h> 40 41 #ifdef CONFIG_LTO 42 #define DO_NOT_DISCARD ATTRIBUTE_USED 43 #else 44 #define DO_NOT_DISCARD 45 #endif 39 46 40 47 #define memset(dst, val, cnt) __builtin_memset((dst), (val), (cnt)) … … 43 50 extern void memsetb(void *, size_t, uint8_t); 44 51 extern void memsetw(void *, size_t, uint16_t); 45 extern void *memmove(void *, const void *, size_t) ;52 extern void *memmove(void *, const void *, size_t) DO_NOT_DISCARD; 46 53 47 54 #endif
Note:
See TracChangeset
for help on using the changeset viewer.