From bafbd49201cc9cba4c0b2273d2f1c95b1650bc49 Mon Sep 17 00:00:00 2001 From: Jake Burkholder Date: Thu, 29 Aug 2002 06:17:48 +0000 Subject: Renamed poorly named setregs to exec_setregs. Moved its prototype to imgact.h with the other exec support functions. --- sys/alpha/alpha/machdep.c | 4 ++-- sys/alpha/include/reg.h | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'sys/alpha') diff --git a/sys/alpha/alpha/machdep.c b/sys/alpha/alpha/machdep.c index 71aaea175440f..af5e44b634f28 100644 --- a/sys/alpha/alpha/machdep.c +++ b/sys/alpha/alpha/machdep.c @@ -97,6 +97,7 @@ #include #include #include +#include #include #include #include @@ -131,7 +132,6 @@ #include #include #include -#include #include #include #include @@ -1583,7 +1583,7 @@ cpu_halt(void) * Clear registers on exec */ void -setregs(struct thread *td, u_long entry, u_long stack, u_long ps_strings) +exec_setregs(struct thread *td, u_long entry, u_long stack, u_long ps_strings) { struct trapframe *tfp = td->td_frame; diff --git a/sys/alpha/include/reg.h b/sys/alpha/include/reg.h index 3ea61431cc885..6e1b1d3c26e69 100644 --- a/sys/alpha/include/reg.h +++ b/sys/alpha/include/reg.h @@ -114,7 +114,6 @@ void savefpstate(struct fpreg *); /* * XXX these interfaces are MI, so they should be declared in a MI place. */ -void setregs(struct thread *, u_long, u_long, u_long); int fill_regs(struct thread *, struct reg *); int set_regs(struct thread *, struct reg *); int fill_fpregs(struct thread *, struct fpreg *); -- cgit v1.3