summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2000-12-05 09:06:41 +0000
committermarcel <marcel@FreeBSD.org>2000-12-05 09:06:41 +0000
commit6b960e8fea43c1c5daff22b8613bba1fff36f3e5 (patch)
tree5343247b8856d0b0530b931f9fb17881f4708b4e /sys
parent57f887358acf3cb7bb3572d186203297fa8db88f (diff)
downloadFreeBSD-src-6b960e8fea43c1c5daff22b8613bba1fff36f3e5.zip
FreeBSD-src-6b960e8fea43c1c5daff22b8613bba1fff36f3e5.tar.gz
Minor cleanups:
o remove unused prototypes, o remove unused extern declarations, o move prototypes up.
Diffstat (limited to 'sys')
-rw-r--r--sys/alpha/linux/linux_sysvec.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/sys/alpha/linux/linux_sysvec.c b/sys/alpha/linux/linux_sysvec.c
index 42ac4b5..b79511a 100644
--- a/sys/alpha/linux/linux_sysvec.c
+++ b/sys/alpha/linux/linux_sysvec.c
@@ -70,11 +70,13 @@ MALLOC_DEFINE(M_LINUX, "linux", "Linux mode structures");
#define SHELLMAGIC 0x2321
#endif
-
extern struct linker_set linux_ioctl_handler_set;
+void osendsig(sig_t catcher, int sig, sigset_t *mask, u_long code);
+
static int elf_linux_fixup __P((long **stack_base,
struct image_params *iparams));
+static int exec_linux_imgact_try __P((struct image_params *iparams));
static int
elf_linux_fixup(long **stack_base, struct image_params *imgp)
@@ -112,19 +114,12 @@ elf_linux_fixup(long **stack_base, struct image_params *imgp)
return 0;
}
-extern int _ucodesel, _udatasel;
-
-void osf1_sendsig __P((sig_t, int , sigset_t *, u_long ));
-void osendsig(sig_t catcher, int sig, sigset_t *mask, u_long code);
-
/*
* If a linux binary is exec'ing something, try this image activator
* first. We override standard shell script execution in order to
* be able to modify the interpreter path. We only do this if a linux
* binary is doing the exec, so we do not create an EXEC module for it.
*/
-static int exec_linux_imgact_try __P((struct image_params *iparams));
-
static int
exec_linux_imgact_try(imgp)
struct image_params *imgp;
OpenPOWER on IntegriCloud