From: Elvira Khabirova Date: Mon, 3 Aug 2015 04:26:53 +0000 (+0300) Subject: Mpersify parser of times syscall X-Git-Tag: v4.11~226 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6773d6d8a110c1fda96180b22996559e8e0ac7ff;p=strace Mpersify parser of times syscall Fix multiple personalities support in parser of times syscall by mpersifying struct tms. * times.c (tms_t): New typedef. Mpersify it. (sys_times): Use it instead of struct tms. --- diff --git a/times.c b/times.c index 64729cfa..23a77473 100644 --- a/times.c +++ b/times.c @@ -1,9 +1,12 @@ #include "defs.h" +#include DEF_MPERS_TYPE(tms_t) #include +typedef struct tms tms_t; +#include MPERS_DEFS SYS_FUNC(times) { - struct tms tbuf; + tms_t tbuf; if (entering(tcp)) return 0;