Changes in kernel/generic/include/memstr.h [9d58539:630b9d35] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/memstr.h
r9d58539 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.