From d9ec141671dea4f4982749aa1bcc9c9ff4138d30 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 20 Aug 2011 01:39:05 +0200 Subject: [PATCH] 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 --- defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.40.0