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


Ignore:
Timestamp:
2008-06-06T07:34:21Z (16 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/arm32/include/memstr.h

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