diff options
author | eivind <eivind@FreeBSD.org> | 1998-02-09 06:11:36 +0000 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 1998-02-09 06:11:36 +0000 |
commit | d7a6ab28035779065026b70dca440892d819c0bc (patch) | |
tree | 930fd4603b42a095e9f3669517dea29274323575 /sys/i386/ibcs2 | |
parent | 4538098d0b3fbe09f64c578b730483a6e77ff40f (diff) | |
download | FreeBSD-src-d7a6ab28035779065026b70dca440892d819c0bc.zip FreeBSD-src-d7a6ab28035779065026b70dca440892d819c0bc.tar.gz |
Staticize.
Diffstat (limited to 'sys/i386/ibcs2')
-rw-r--r-- | sys/i386/ibcs2/imgact_coff.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/i386/ibcs2/imgact_coff.c b/sys/i386/ibcs2/imgact_coff.c index b69dec9..ad5521d 100644 --- a/sys/i386/ibcs2/imgact_coff.c +++ b/sys/i386/ibcs2/imgact_coff.c @@ -26,7 +26,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: imgact_coff.c,v 1.27 1997/09/21 04:22:29 dyson Exp $ + * $Id: imgact_coff.c,v 1.28 1997/12/27 02:56:18 bde Exp $ */ #include <sys/param.h> @@ -53,8 +53,8 @@ extern struct sysentvec ibcs2_svr3_sysvec; -extern int coff_load_file __P((struct proc *p, char *name)); -extern int exec_coff_imgact __P((struct image_params *imgp)); +static int coff_load_file __P((struct proc *p, char *name)); +static int exec_coff_imgact __P((struct image_params *imgp)); static int load_coff_section __P((struct vmspace *vmspace, struct vnode *vp, vm_offset_t offset, caddr_t vmaddr, size_t memsz, size_t filsz, vm_prot_t prot)); @@ -148,7 +148,7 @@ load_coff_section(struct vmspace *vmspace, struct vnode *vp, vm_offset_t offset, return error; } -int +static int coff_load_file(struct proc *p, char *name) { struct vmspace *vmspace = p->p_vmspace; @@ -283,7 +283,7 @@ coff_load_file(struct proc *p, char *name) return error; } -int +static int exec_coff_imgact(imgp) struct image_params *imgp; { @@ -475,5 +475,5 @@ exec_coff_imgact(imgp) * Since `const' objects end up in the text segment, TEXT_SET is the * correct directive to use. */ -const struct execsw coff_execsw = { exec_coff_imgact, "coff" }; +static const struct execsw coff_execsw = { exec_coff_imgact, "coff" }; TEXT_SET(execsw_set, coff_execsw); |