aboutsummaryrefslogtreecommitdiff
path: root/bin/sh/exec.h
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2009-12-24 20:55:14 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2009-12-24 20:55:14 +0000
commit95139d9d6a072308639b75e6146ff52c928cf0bd (patch)
tree4547f5e8c738e8561800ad304ef9bee3b4b59ac4 /bin/sh/exec.h
parentcb05ec6606e5317e7ebb8b4c90917c2e9b1ae8b1 (diff)
downloadsrc-95139d9d6a072308639b75e6146ff52c928cf0bd.tar.gz
src-95139d9d6a072308639b75e6146ff52c928cf0bd.zip
sh: Add some __dead2 to indicate functions that do not return.
Notes
Notes: svn path=/head/; revision=200967
Diffstat (limited to 'bin/sh/exec.h')
-rw-r--r--bin/sh/exec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/exec.h b/bin/sh/exec.h
index 9803a5e7d9bc..200ddeab8362 100644
--- a/bin/sh/exec.h
+++ b/bin/sh/exec.h
@@ -60,7 +60,7 @@ struct cmdentry {
extern const char *pathopt; /* set by padvance */
extern int exerrno; /* last exec error */
-void shellexec(char **, char **, const char *, int);
+void shellexec(char **, char **, const char *, int) __dead2;
char *padvance(const char **, const char *);
int hashcmd(int, char **);
void find_command(const char *, struct cmdentry *, int, const char *);