Changeset e32e092 in mainline for kernel/arch/sparc64/include/memstr.h


Ignore:
Timestamp:
2008-06-06T07:34:21Z (17 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
eb1c0a3
Parents:
40257f5
Message:

Declare arguments for memstr.h operations as pointers instead of uintptr_t.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/include/memstr.h

    r40257f5 re32e092  
    3838#define memcpy(dst, src, cnt)  __builtin_memcpy((dst), (src), (cnt))
    3939
    40 extern void memsetw(uintptr_t dst, size_t cnt, uint16_t x);
    41 extern void memsetb(uintptr_t dst, size_t cnt, uint8_t x);
     40extern void memsetw(void *dst, size_t cnt, uint16_t x);
     41extern void memsetb(void *dst, size_t cnt, uint8_t x);
    4242
    43 extern int memcmp(uintptr_t src, uintptr_t dst, int cnt);
     43extern int memcmp(const void *a, const void *b, size_t cnt);
    4444
    4545#endif
Note: See TracChangeset for help on using the changeset viewer.