diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-05-04 08:33:24 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-05-04 21:56:38 -0400 |
commit | a147f3ff8c353a68d8525149f34d08bbe62bc6fa (patch) | |
tree | 90e93b10b0ff47b90d27841eb6a91e5086a1f300 /sim | |
parent | 4df817de57014779d4c07036bcd3835f10b4ba92 (diff) | |
download | gdb-a147f3ff8c353a68d8525149f34d08bbe62bc6fa.zip gdb-a147f3ff8c353a68d8525149f34d08bbe62bc6fa.tar.gz gdb-a147f3ff8c353a68d8525149f34d08bbe62bc6fa.tar.bz2 |
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).
Diffstat (limited to 'sim')
-rw-r--r-- | sim/mcore/ChangeLog | 4 | ||||
-rw-r--r-- | sim/mcore/interp.c | 1 | ||||
-rw-r--r-- | sim/mn10300/ChangeLog | 4 | ||||
-rw-r--r-- | sim/mn10300/op_utils.c | 1 | ||||
-rw-r--r-- | sim/moxie/ChangeLog | 4 | ||||
-rw-r--r-- | sim/moxie/interp.c | 1 |
6 files changed, 12 insertions, 3 deletions
diff --git a/sim/mcore/ChangeLog b/sim/mcore/ChangeLog index d028e2b..83b788a 100644 --- a/sim/mcore/ChangeLog +++ b/sim/mcore/ChangeLog @@ -1,5 +1,9 @@ 2021-05-04 Mike Frysinger <vapier@gentoo.org> + * interp.c: Delete sys/times.h include. + +2021-05-04 Mike Frysinger <vapier@gentoo.org> + * configure: Regenerate. 2021-05-01 Mike Frysinger <vapier@gentoo.org> diff --git a/sim/mcore/interp.c b/sim/mcore/interp.c index 09e005f..6eadf04 100644 --- a/sim/mcore/interp.c +++ b/sim/mcore/interp.c @@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <signal.h> #include <stdlib.h> #include <string.h> -#include <sys/times.h> #include <sys/param.h> #include <unistd.h> #include "bfd.h" diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog index 8ff717f..a9ba8d7 100644 --- a/sim/mn10300/ChangeLog +++ b/sim/mn10300/ChangeLog @@ -1,5 +1,9 @@ 2021-05-04 Mike Frysinger <vapier@gentoo.org> + * op_utils.c: Delete sys/times.h include. + +2021-05-04 Mike Frysinger <vapier@gentoo.org> + * configure: Regenerate. 2021-05-01 Mike Frysinger <vapier@gentoo.org> diff --git a/sim/mn10300/op_utils.c b/sim/mn10300/op_utils.c index 37d4323..882ff46 100644 --- a/sim/mn10300/op_utils.c +++ b/sim/mn10300/op_utils.c @@ -8,7 +8,6 @@ #endif #include <string.h> #include <sys/stat.h> -#include <sys/times.h> #include <sys/time.h> diff --git a/sim/moxie/ChangeLog b/sim/moxie/ChangeLog index f579ceb..2686447 100644 --- a/sim/moxie/ChangeLog +++ b/sim/moxie/ChangeLog @@ -1,5 +1,9 @@ 2021-05-04 Mike Frysinger <vapier@gentoo.org> + * interp.c: Delete sys/times.h include. + +2021-05-04 Mike Frysinger <vapier@gentoo.org> + * configure: Regenerate. 2021-05-01 Mike Frysinger <vapier@gentoo.org> diff --git a/sim/moxie/interp.c b/sim/moxie/interp.c index 417ff9e..4228dd5 100644 --- a/sim/moxie/interp.c +++ b/sim/moxie/interp.c @@ -22,7 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <signal.h> #include <stdlib.h> #include <string.h> -#include <sys/times.h> #include <sys/param.h> #include <unistd.h> #include "bfd.h" |