diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1995-12-14 08:32:45 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1995-12-14 08:32:45 +0000 |
| commit | 87b6de2b76c97cb6262434dcacebf53d0c457cef (patch) | |
| tree | 17b584943b186d479fdf3906ec2bef1ea2ca47bf /sys/kern/kern_exec.c | |
| parent | e531deaeb2d13c64871020a16b02e573c5dbd5c6 (diff) | |
Notes
Diffstat (limited to 'sys/kern/kern_exec.c')
| -rw-r--r-- | sys/kern/kern_exec.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c index c8d22c6a830a..cade8e54faff 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -28,7 +28,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: kern_exec.c,v 1.28 1995/12/07 12:46:40 davidg Exp $ + * $Id: kern_exec.c,v 1.29 1995/12/09 04:29:11 peter Exp $ */ #include <sys/param.h> @@ -59,7 +59,7 @@ #include <machine/reg.h> -int *exec_copyout_strings __P((struct image_params *)); +static int *exec_copyout_strings __P((struct image_params *)); static int exec_check_permissions(struct image_params *); @@ -67,7 +67,8 @@ static int exec_check_permissions(struct image_params *); * execsw_set is constructed for us by the linker. Each of the items * is a pointer to a `const struct execsw', hence the double pointer here. */ -const struct execsw **execsw = (const struct execsw **)&execsw_set.ls_items[0]; +static const struct execsw **execsw = + (const struct execsw **)&execsw_set.ls_items[0]; #ifndef _SYS_SYSPROTO_H_ struct execve_args { |
