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.
This commit is contained in:
Jilles Tjoelker 2012-11-05 17:52:18 +00:00
parent d30d96ea57
commit d172408c7e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=242620

View File

@ -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 */
};