From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:40846) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tr7l2-00028z-3V for qemu-devel@nongnu.org; Fri, 04 Jan 2013 08:56:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tr7kz-0007TG-He for qemu-devel@nongnu.org; Fri, 04 Jan 2013 08:56:24 -0500 Received: from mx1.redhat.com ([209.132.183.28]:38131) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tr7kz-0007SJ-4N for qemu-devel@nongnu.org; Fri, 04 Jan 2013 08:56:21 -0500 From: Stefan Hajnoczi Date: Fri, 4 Jan 2013 14:55:49 +0100 Message-Id: <1357307750-1966-6-git-send-email-stefanha@redhat.com> In-Reply-To: <1357307750-1966-1-git-send-email-stefanha@redhat.com> References: <1357307750-1966-1-git-send-email-stefanha@redhat.com> Subject: [Qemu-devel] [PATCH 5/6] linux-user/syscall.c: remove forward declarations List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Anthony Liguori , Stefan Hajnoczi , John Spencer From: John Spencer instead use the correct headers that define these functions. Requested-by: Stefan Weil Signed-off-by: John Spencer Reviewed-by: Amos Kong Reviewed-by: Stefan Weil Signed-off-by: Stefan Hajnoczi --- linux-user/syscall.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index e99adab..3167a87 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -36,6 +36,9 @@ #include #include #include +#include +#include +#include #include #include #include @@ -581,11 +584,6 @@ _syscall4(int, sys_prlimit64, pid_t, pid, int, resource, struct host_rlimit64 *, old_limit) #endif -extern int personality(int); -extern int flock(int, int); -extern int setfsuid(int); -extern int setfsgid(int); - /* ARM EABI and MIPS expect 64bit types aligned even on pairs or registers */ #ifdef TARGET_ARM static inline int regpairs_aligned(void *cpu_env) { -- 1.8.0.2