summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2012-11-05 17:52:18 +0000
committerjilles <jilles@FreeBSD.org>2012-11-05 17:52:18 +0000
commitaef0db8f9e6575b6df50d9cbf893f897584133ee (patch)
treef99bd6dbbab86c82a5e026327ce8ef4170379ddc /bin
parent8f55c564c22c381a460d71fc0d84fb5a4d4f1cfa (diff)
downloadFreeBSD-src-aef0db8f9e6575b6df50d9cbf893f897584133ee.zip
FreeBSD-src-aef0db8f9e6575b6df50d9cbf893f897584133ee.tar.gz
sh: Change cmdtype in tblentry from short to signed char.
If this is a smaller type than int anyway, we can make it the smallest possible.
Diffstat (limited to 'bin')
-rw-r--r--bin/sh/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/exec.c b/bin/sh/exec.c
index 7ebf450..eb32403 100644
--- a/bin/sh/exec.c
+++ b/bin/sh/exec.c
@@ -85,7 +85,7 @@ struct tblentry {
struct tblentry *next; /* next entry in hash chain */
union param param; /* definition of builtin function */
int special; /* flag for special builtin commands */
- short cmdtype; /* index identifying command */
+ signed char cmdtype; /* index identifying command */
char rehash; /* if set, cd done since entry created */
char cmdname[]; /* name of command */
};
OpenPOWER on IntegriCloud