Commit c90e12b86595dbd9996336ac9d762487c638d934

Authored by Jeff Dike
Committed by Linus Torvalds
1 parent bb83da0533

[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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

arch/um/include/kern.h
... ... @@ -29,7 +29,7 @@
29 29 extern int getgid(void);
30 30 extern int pause(void);
31 31 extern int write(int, const void *, int);
32   -extern int exit(int);
  32 +extern void exit(int);
33 33 extern int close(int);
34 34 extern int read(unsigned int, char *, int);
35 35 extern int pipe(int *);