From: Jeff Dike Date: Mon, 27 Mar 2006 09:14:29 +0000 (-0800) Subject: [PATCH] uml: fix declaration of exit() X-Git-Tag: v2.6.17-rc1~474 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c90e12b86595dbd9996336ac9d762487c638d934;p=linux-2.6-omap-h63xx.git [PATCH] uml: fix declaration of exit() This fixes a conflict between a header and what gcc "knows" the declaration' to be. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/um/include/kern.h b/arch/um/include/kern.h index 7d223beccbc..4ce3fc650e5 100644 --- a/arch/um/include/kern.h +++ b/arch/um/include/kern.h @@ -29,7 +29,7 @@ extern int getuid(void); extern int getgid(void); extern int pause(void); extern int write(int, const void *, int); -extern int exit(int); +extern void exit(int); extern int close(int); extern int read(unsigned int, char *, int); extern int pipe(int *);