diff options
Diffstat (limited to 'usr.bin/doscmd/exe.c')
-rw-r--r-- | usr.bin/doscmd/exe.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/usr.bin/doscmd/exe.c b/usr.bin/doscmd/exe.c index ce9a8f0..083a95d 100644 --- a/usr.bin/doscmd/exe.c +++ b/usr.bin/doscmd/exe.c @@ -31,10 +31,13 @@ * $FreeBSD$ */ -#include <stdio.h> #include <sys/types.h> -#include <stdlib.h> +#include <sys/uio.h> #include <ctype.h> +#include <stdio.h> +#include <stdlib.h> +#include <unistd.h> + #include "doscmd.h" /* exports */ @@ -45,7 +48,6 @@ int curpsp = 0; static int psp_s[10] = { 0 }; static int env_s[10]; static regcontext_t frames[10]; -static char *env_block; static int make_environment (char *cmdname, char **env) @@ -363,12 +365,6 @@ load_overlay(int fd, int start_segment, int reloc_segment) load_exe(fd, start_segment, reloc_segment, &hdr, text_size); } -static int -get_psp(void) -{ - return(psp_s[curpsp]); -} - int get_env(void) { |