Skip to contentSkip to conversation

Remove conflicting _exit

PATCH In review Tom 'spot' Callaway 1 participant 1 message Dec 22, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 2/3 Remove conflicting _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/[email protected]

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'

~spot
---
Tom "spot" Callaway <tcallawa(a)redhat*com> LCA, RHCE Red Hat Sales Engineer || Aurora Linux Project Leader

"If you are going through hell, keep going."
- Sir Winston Churchill

include/asm-sparc/unistd.h renamed from include/asm-sparc/unistd.h.BAD +0 -1
@@ -486,7 +486,6 @@ static __inline__ _syscall1(int,dup,int,
 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>