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


Ignore:
Timestamp:
2019-06-27T08:51:20Z (7 years ago)
Author:
Jaroslav Jindrak <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8add15e0
Parents:
ad40b74b (diff), aeba767 (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:

cpp: merge and resolve conflicts

File:
1 edited

Legend:

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

    rad40b74b rbc73be3  
    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>
     40#include <_bits/decls.h>
     41
     42__C_DECLS_BEGIN;
    4143
    4244extern void *memset(void *, int, size_t)
    43     __attribute__((nonnull(1)))
    44     ATTRIBUTE_OPTIMIZE("-fno-tree-loop-distribute-patterns");
     45    __attribute__((nonnull(1)));
    4546extern void *memcpy(void *, const void *, size_t)
    46     __attribute__((nonnull(1, 2)))
    47     ATTRIBUTE_OPTIMIZE("-fno-tree-loop-distribute-patterns");
     47    __attribute__((nonnull(1, 2)));
    4848extern void *memmove(void *, const void *, size_t)
    4949    __attribute__((nonnull(1, 2)));
     
    5353    __attribute__((nonnull(1)));
    5454
     55__C_DECLS_END;
     56
    5557#endif
    5658
Note: See TracChangeset for help on using the changeset viewer.