From 85f6117e323a6a715f9d4034a28e3c91852d60f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 29 Sep 2004 10:29:00 +0000 Subject: [PATCH] Moved the user_memcpy()/strlcpy()/memset() calls to KernelExport.h. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9104 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/util/syscall_args.h | 1 + headers/private/kernel/vm.h | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/headers/private/kernel/util/syscall_args.h b/headers/private/kernel/util/syscall_args.h index 30228ef025..c26177ed6c 100644 --- a/headers/private/kernel/util/syscall_args.h +++ b/headers/private/kernel/util/syscall_args.h @@ -3,6 +3,7 @@ #ifndef _SYSCALL_ARGS_H #define _SYSCALL_ARGS_H +#include #include // Hack to be able to use the IS_USER_ADDRESS macro when compiling for R5. diff --git a/headers/private/kernel/vm.h b/headers/private/kernel/vm.h index d4fb952388..3c61b38c80 100755 --- a/headers/private/kernel/vm.h +++ b/headers/private/kernel/vm.h @@ -61,10 +61,6 @@ int vm_get_page_mapping(aspace_id aid, addr vaddr, addr *paddr); int vm_get_physical_page(addr paddr, addr *vaddr, int flags); int vm_put_physical_page(addr vaddr); -int user_memcpy(void *to, const void *from, size_t size); -int user_strlcpy(char *to, const char *from, size_t size); -int user_memset(void *s, char c, size_t count); - area_id _user_create_area(const char *name, void **address, uint32 addressSpec, size_t size, uint32 lock, uint32 protection); status_t _user_delete_area(area_id area);