summaryrefslogtreecommitdiffstats
path: root/bin/sh/error.c
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2015-03-03 21:21:43 +0000
committerjilles <jilles@FreeBSD.org>2015-03-03 21:21:43 +0000
commitb5c07cff76dc0055eb236091bad7d5987f75f58d (patch)
tree07d2b58c53d3dba7f94541f25700fec50370d2e5 /bin/sh/error.c
parentd696383c0b0ac2aa018ac278851620c93c63ccc7 (diff)
downloadFreeBSD-src-b5c07cff76dc0055eb236091bad7d5987f75f58d.zip
FreeBSD-src-b5c07cff76dc0055eb236091bad7d5987f75f58d.tar.gz
sh: Fix more compiler warnings related to variable declarations.
Diffstat (limited to 'bin/sh/error.c')
-rw-r--r--bin/sh/error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/error.c b/bin/sh/error.c
index fedffaa..6057226 100644
--- a/bin/sh/error.c
+++ b/bin/sh/error.c
@@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$");
*/
#include "shell.h"
+#include "eval.h"
#include "main.h"
#include "options.h"
#include "output.h"
@@ -64,7 +65,6 @@ struct jmploc *handler;
volatile sig_atomic_t exception;
volatile sig_atomic_t suppressint;
volatile sig_atomic_t intpending;
-char *commandname;
static void exverror(int, const char *, va_list) __printf0like(2, 0) __dead2;
OpenPOWER on IntegriCloud