Changeset 8f99dbf in mainline for uspace/lib/c/include/mem.h


Ignore:
Timestamp:
2019-02-03T17:03:37Z (5 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
472fe7a
Parents:
b4f1171
Message:

Move non-optimization attribute from header to implementation

File:
1 edited

Legend:

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

    rb4f1171 r8f99dbf  
    3838
    3939#include <stddef.h>
    40 #include <cc.h>
    4140
    4241extern void *memset(void *, int, size_t)
    43     __attribute__((nonnull(1)))
    44     ATTRIBUTE_OPTIMIZE("-fno-tree-loop-distribute-patterns");
     42    __attribute__((nonnull(1)));
    4543extern void *memcpy(void *, const void *, size_t)
    46     __attribute__((nonnull(1, 2)))
    47     ATTRIBUTE_OPTIMIZE("-fno-tree-loop-distribute-patterns");
     44    __attribute__((nonnull(1, 2)));
    4845extern void *memmove(void *, const void *, size_t)
    4946    __attribute__((nonnull(1, 2)));
Note: See TracChangeset for help on using the changeset viewer.