Commit 41504c07 authored by William Lee Irwin III's avatar William Lee Irwin III Committed by Linus Torvalds

[PATCH] sparc32: remove conflicting definition of _exit()

sparc32 had a conflicting _exit, removed the line from asm-
sparc/unistd.h. This is the same change that DaveM made to sparc64 here:
http://linux.bkbits.net:8080/linux-2.6/diffs/include/asm-
sparc64/unistd.h@1.33

Warning was:
In file included from include/linux/unistd.h:9,
                 from init/main.c:45:
include/asm/unistd.h:489: warning: conflicting types for built-in
function '_exit'
Signed-off-by: default avatarTom 'spot' Callaway <tcallawa@redhat.com>
Acked-by: default avatarWilliam Irwin <wli@holomorphy.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 8b795c80
......@@ -486,7 +486,6 @@ static __inline__ _syscall1(int,dup,int,fd)
static __inline__ _syscall3(int,execve,__const__ char *,file,char **,argv,char **,envp)
static __inline__ _syscall3(int,open,__const__ char *,file,int,flag,int,mode)
static __inline__ _syscall1(int,close,int,fd)
static __inline__ _syscall1(int,_exit,int,exitcode)
static __inline__ _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
#include <linux/linkage.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment