From f0b122701bb72dc7b4cbb34f470dccf7558bce10 Mon Sep 17 00:00:00 2001 From: Philippe Houdoin Date: Wed, 13 Oct 2004 09:06:25 +0000 Subject: [PATCH] Fix warnings about conflicts between KernelExport.h's user_memcpy/_strlcpy() and kernellland_emu.cpp implementation. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9313 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/tests/add-ons/kernel/kernelland_emu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/add-ons/kernel/kernelland_emu.cpp b/src/tests/add-ons/kernel/kernelland_emu.cpp index c0d29ff183..fc9dfe4911 100644 --- a/src/tests/add-ons/kernel/kernelland_emu.cpp +++ b/src/tests/add-ons/kernel/kernelland_emu.cpp @@ -709,7 +709,7 @@ dprintf(const char *format,...) // user_memcpy extern "C" -int +status_t user_memcpy(void *to, const void *from, size_t size) { char *tmp = (char *)to; @@ -742,7 +742,7 @@ user_strcpy(char *to, const char *from) \return strlen(\a from). */ extern "C" -int +ssize_t user_strlcpy(char *to, const char *from, size_t size) { int from_length = 0;