From: Mike Frysinger Date: Tue, 4 May 2021 12:33:24 +0000 (-0400) Subject: sim: remove sys/times.h in most places X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a147f3ff8c353a68d8525149f34d08bbe62bc6fa;p=binutils-gdb.git sim: remove sys/times.h in most places The v850 port used this, and then it got copied to other ports even though it wasn't needed. Clean it up to avoid portability issues on platforms not providing this (e.g. mingw64 for Windows). --- diff --git a/sim/mcore/ChangeLog b/sim/mcore/ChangeLog index d028e2bfa37..83b788a179b 100644 --- a/sim/mcore/ChangeLog +++ b/sim/mcore/ChangeLog @@ -1,3 +1,7 @@ +2021-05-04 Mike Frysinger + + * interp.c: Delete sys/times.h include. + 2021-05-04 Mike Frysinger * configure: Regenerate. diff --git a/sim/mcore/interp.c b/sim/mcore/interp.c index 09e005f1d39..6eadf04d049 100644 --- a/sim/mcore/interp.c +++ b/sim/mcore/interp.c @@ -21,7 +21,6 @@ along with this program. If not, see . */ #include #include #include -#include #include #include #include "bfd.h" diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog index 8ff717f5da7..a9ba8d74891 100644 --- a/sim/mn10300/ChangeLog +++ b/sim/mn10300/ChangeLog @@ -1,3 +1,7 @@ +2021-05-04 Mike Frysinger + + * op_utils.c: Delete sys/times.h include. + 2021-05-04 Mike Frysinger * configure: Regenerate. diff --git a/sim/mn10300/op_utils.c b/sim/mn10300/op_utils.c index 37d43237642..882ff462409 100644 --- a/sim/mn10300/op_utils.c +++ b/sim/mn10300/op_utils.c @@ -8,7 +8,6 @@ #endif #include #include -#include #include diff --git a/sim/moxie/ChangeLog b/sim/moxie/ChangeLog index f579ceb21a9..26864471b8a 100644 --- a/sim/moxie/ChangeLog +++ b/sim/moxie/ChangeLog @@ -1,3 +1,7 @@ +2021-05-04 Mike Frysinger + + * interp.c: Delete sys/times.h include. + 2021-05-04 Mike Frysinger * configure: Regenerate. diff --git a/sim/moxie/interp.c b/sim/moxie/interp.c index 417ff9ea550..4228dd5a466 100644 --- a/sim/moxie/interp.c +++ b/sim/moxie/interp.c @@ -22,7 +22,6 @@ along with this program. If not, see . */ #include #include #include -#include #include #include #include "bfd.h"