Messages in this thread Patch in this message | | | Subject | [PATCH 2/16] UML - Fix declaration of exit() | Date | Fri, 24 Mar 2006 13:14:34 -0500 | From | Jeff Dike <> |
| |
This fixes a conflict between a header and what gcc "knows" the declaration' to be.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Index: linux-2.6.15-mm/arch/um/include/kern.h =================================================================== --- linux-2.6.15-mm.orig/arch/um/include/kern.h 2006-02-21 16:02:19.000000000 -0500 +++ linux-2.6.15-mm/arch/um/include/kern.h 2006-02-21 16:15:14.000000000 -0500 @@ -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 *); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |