Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/mem.h

    ra5057cc r797d4d19  
    3737
    3838#include <sys/types.h>
    39 
    40 #define bzero(ptr, len)  memset((ptr), 0, (len))
     39#include <cc.h>
    4140
    4241extern void *memset(void *, int, size_t)
    43     __attribute__ ((optimize("-fno-tree-loop-distribute-patterns")));
     42    ATTRIBUTE_OPTIMIZE("-fno-tree-loop-distribute-patterns");
    4443extern void *memcpy(void *, const void *, size_t)
    45     __attribute__ ((optimize("-fno-tree-loop-distribute-patterns")));
     44    ATTRIBUTE_OPTIMIZE("-fno-tree-loop-distribute-patterns");
    4645extern void *memmove(void *, const void *, size_t);
    47 
    48 extern int bcmp(const void *, const void *, size_t);
     46extern int memcmp(const void *, const void *, size_t);
    4947
    5048#endif
Note: See TracChangeset for help on using the changeset viewer.