Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/memstr.h

    r630b9d35 r9d58539  
    3737
    3838#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
    4639
    4740#define memset(dst, val, cnt)  __builtin_memset((dst), (val), (cnt))
     
    5043extern void memsetb(void *, size_t, uint8_t);
    5144extern void memsetw(void *, size_t, uint16_t);
    52 extern void *memmove(void *, const void *, size_t) DO_NOT_DISCARD;
     45extern void *memmove(void *, const void *, size_t);
    5346
    5447#endif
Note: See TracChangeset for help on using the changeset viewer.