From d172408c7e0bd9b02032219ccfbc74edca00df7c Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Mon, 5 Nov 2012 17:52:18 +0000 Subject: [PATCH] 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. --- bin/sh/exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/sh/exec.c b/bin/sh/exec.c index 7ebf450621f4..eb3240381196 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 */ };