Changeset 9c0a9b3 in mainline for include/memstr.h


Ignore:
Timestamp:
2005-08-30T19:44:27Z (20 years ago)
Author:
Jakub Vana <jakub.vana@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d0c30f7
Parents:
8fc0d455
Message:

1) memcopy and _memcopy functions rewriten to ANSI C norm.
2) Repaired ia32,ia64 and mips version of SPARTAN to work with this memcopy functions
3) Warning for non declared funcions added and repaired ia32,ia64 and mips versions to pass build process with this warning and Werror option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/memstr.h

    r8fc0d455 r9c0a9b3  
    3333#include <arch/types.h>
    3434
    35 extern void memcopy(__address src, __address dst, size_t cnt);
     35extern char *  memcopy(void * dst, const void *src, size_t cnt);
    3636
    3737extern void memsetw(__address dst, size_t cnt, __u16 x);
     
    4343 * Architecture independent variants.
    4444 */
    45 extern void _memcopy(__address src, __address dst, size_t cnt);
     45extern char * _memcopy(void *dst, const void *src, size_t cnt);
    4646extern void _memsetb(__address dst, size_t cnt, __u8 x);
    4747
Note: See TracChangeset for help on using the changeset viewer.