diff options
author | netchild <netchild@FreeBSD.org> | 2006-08-17 21:06:48 +0000 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2006-08-17 21:06:48 +0000 |
commit | 5d552cdc476cb4806602f1d9689bce0a0b5d34ae (patch) | |
tree | a990a7a12993946826ad9e1fb76c4b5b25743000 /sys/i386 | |
parent | 85df8020c4d1802f6304fc6d1e76c0999c388758 (diff) | |
download | FreeBSD-src-5d552cdc476cb4806602f1d9689bce0a0b5d34ae.zip FreeBSD-src-5d552cdc476cb4806602f1d9689bce0a0b5d34ae.tar.gz |
Move some stuff into headers where they belong.
Sponsored by: Google SoC 2006
Submitted by: rdivacky
Noticed by: jhb, ssouhlal
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/linux/linux_machdep.c | 3 | ||||
-rw-r--r-- | sys/i386/linux/linux_sysvec.c | 6 |
2 files changed, 1 insertions, 8 deletions
diff --git a/sys/i386/linux/linux_machdep.c b/sys/i386/linux/linux_machdep.c index d49f425..a1dc8f7 100644 --- a/sys/i386/linux/linux_machdep.c +++ b/sys/i386/linux/linux_machdep.c @@ -67,9 +67,6 @@ __FBSDID("$FreeBSD$"); #include "opt_posix.h" -extern struct sx emul_shared_lock; -extern struct sx emul_lock; - extern struct sysentvec elf32_freebsd_sysvec; /* defined in i386/i386/elf_machdep.c */ struct l_descriptor { diff --git a/sys/i386/linux/linux_sysvec.c b/sys/i386/linux/linux_sysvec.c index e3e65e9..b6b2cda 100644 --- a/sys/i386/linux/linux_sysvec.c +++ b/sys/i386/linux/linux_sysvec.c @@ -62,6 +62,7 @@ __FBSDID("$FreeBSD$"); #include <i386/linux/linux.h> #include <i386/linux/linux_proto.h> +#include <compat/linux/linux_emul.h> #include <compat/linux/linux_mib.h> #include <compat/linux/linux_signal.h> #include <compat/linux/linux_util.h> @@ -106,12 +107,7 @@ static void linux_sendsig(sig_t catcher, ksiginfo_t *ksi, sigset_t *mask); static void exec_linux_setregs(struct thread *td, u_long entry, u_long stack, u_long ps_strings); -extern void linux_proc_exit(void *, struct proc *, struct image_params *); -extern void linux_proc_exec(void *, struct proc *, struct image_params *); -extern void linux_schedtail(void *, struct proc *); extern LIST_HEAD(futex_list, futex) futex_list; -extern struct sx emul_shared_lock; -extern struct sx emul_lock; extern struct mtx futex_mtx; static eventhandler_tag linux_exit_tag; |