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


Ignore:
Timestamp:
2019-02-11T22:31:04Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
aaf9789c
Parents:
e3272101 (diff), 4805495 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merging with upstream/master

File:
1 edited

Legend:

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

    re3272101 rd5a89a3  
    3434 */
    3535
    36 #ifndef LIBC_MEM_H_
    37 #define LIBC_MEM_H_
     36#ifndef _LIBC_MEM_H_
     37#define _LIBC_MEM_H_
    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.