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
This commit is contained in:
parent
85bf8fb207
commit
f0b122701b
@ -709,7 +709,7 @@ dprintf(const char *format,...)
|
|||||||
|
|
||||||
// user_memcpy
|
// user_memcpy
|
||||||
extern "C"
|
extern "C"
|
||||||
int
|
status_t
|
||||||
user_memcpy(void *to, const void *from, size_t size)
|
user_memcpy(void *to, const void *from, size_t size)
|
||||||
{
|
{
|
||||||
char *tmp = (char *)to;
|
char *tmp = (char *)to;
|
||||||
@ -742,7 +742,7 @@ user_strcpy(char *to, const char *from)
|
|||||||
\return strlen(\a from).
|
\return strlen(\a from).
|
||||||
*/
|
*/
|
||||||
extern "C"
|
extern "C"
|
||||||
int
|
ssize_t
|
||||||
user_strlcpy(char *to, const char *from, size_t size)
|
user_strlcpy(char *to, const char *from, size_t size)
|
||||||
{
|
{
|
||||||
int from_length = 0;
|
int from_length = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user