Changeset a2dc632 in mainline


Ignore:
Timestamp:
2005-09-19T14:02:12Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a68003f
Parents:
d9430f7
Message:

Compilation fixes.
memcpy() must be declared in memstr.h

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/memstr.h

    rd9430f7 ra2dc632  
    3838
    3939extern int memcmp(__address src, __address dst, int cnt);
     40extern void *memcpy(void *dst, const void *src, size_t cnt);
    4041
    4142/*
    4243 * Architecture independent variants.
    4344 */
    44 extern char *_memcpy(void *dst, const void *src, size_t cnt);
     45extern void *_memcpy(void *dst, const void *src, size_t cnt);
    4546extern void _memsetb(__address dst, size_t cnt, __u8 x);
    4647extern void _memsetw(__address dst, size_t cnt, __u16 x);
  • src/lib/memstr.c

    rd9430f7 ra2dc632  
    4242 *
    4343 */
    44 char *_memcpy(void * dst, const void *src, size_t cnt)
     44void *_memcpy(void * dst, const void *src, size_t cnt)
    4545{
    4646        int i;
Note: See TracChangeset for help on using the changeset viewer.