summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2006-03-27 09:14:29 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-27 16:44:37 (GMT)
commitc90e12b86595dbd9996336ac9d762487c638d934 (patch)
treea790e265263d05790af50c2e16c603d80b11937c /arch
parentbb83da053319e81906473bec08e8f677d6ac615f (diff)
downloadlinux-c90e12b86595dbd9996336ac9d762487c638d934.tar.xz
[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 <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/um/include/kern.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/include/kern.h b/arch/um/include/kern.h
index 7d223be..4ce3fc6 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 *);