From: Denys Vlasenko Date: Fri, 19 Aug 2011 23:39:05 +0000 (+0200) Subject: Use natural-sized integer field for tcb::flags X-Git-Tag: v4.7~318 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d9ec141671dea4f4982749aa1bcc9c9ff4138d30;p=strace Use natural-sized integer field for tcb::flags * defs: Change struct tcb::flags type from short to int. This results in smaller code at least on x86. Signed-off-by: Denys Vlasenko --- diff --git a/defs.h b/defs.h index 80c8c830..1542861d 100644 --- a/defs.h +++ b/defs.h @@ -387,7 +387,7 @@ extern int mp_ioctl(int f, int c, void *a, int s); /* Trace Control Block */ struct tcb { - short flags; /* See below for TCB_ values */ + int flags; /* See below for TCB_ values */ int pid; /* Process Id of this entry */ long scno; /* System call number */ int u_nargs; /* System call arguments */