diff options
author | steve <steve@FreeBSD.org> | 1996-12-14 06:20:03 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1996-12-14 06:20:03 +0000 |
commit | c58aca035e2c61510b619368861598623eb95e52 (patch) | |
tree | 049d84189a59de29d49254b609a318b17ee59387 /bin/sh/exec.h | |
parent | a958416f1b4a022c358b94db0b8e6bcc6cb54ee0 (diff) | |
download | FreeBSD-src-c58aca035e2c61510b619368861598623eb95e52.zip FreeBSD-src-c58aca035e2c61510b619368861598623eb95e52.tar.gz |
Merge in NetBSD mods and -Wall cleaning.
Obtained from: NetBSD, me
Diffstat (limited to 'bin/sh/exec.h')
-rw-r--r-- | bin/sh/exec.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/sh/exec.h b/bin/sh/exec.h index fea5bd5..faeb9f2 100644 --- a/bin/sh/exec.h +++ b/bin/sh/exec.h @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)exec.h 8.3 (Berkeley) 6/8/95 - * $Id: exec.h,v 1.2 1994/09/24 02:57:33 davidg Exp $ + * $Id: exec.h,v 1.3 1996/09/01 10:20:05 peter Exp $ */ /* values of cmdtype */ @@ -54,6 +54,7 @@ struct cmdentry { extern char *pathopt; /* set by padvance */ +extern int exerrno; /* last exec error */ void shellexec __P((char **, char **, char *, int)); char *padvance __P((char **, char *)); @@ -61,7 +62,7 @@ int hashcmd __P((int, char **)); void find_command __P((char *, struct cmdentry *, int, char *)); int find_builtin __P((char *)); void hashcd __P((void)); -void changepath __P((char *)); +void changepath __P((const char *)); void deletefuncs __P((void)); void getcmdentry __P((char *, struct cmdentry *)); void addcmdentry __P((char *, struct cmdentry *)); |