Ignore:
File:
1 edited

Legend:

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

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