public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] sim: remove sys/times.h in most places
@ 2021-05-05  2:01 Michael Frysinger
  0 siblings, 0 replies; only message in thread
From: Michael Frysinger @ 2021-05-05  2:01 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a147f3ff8c353a68d8525149f34d08bbe62bc6fa

commit a147f3ff8c353a68d8525149f34d08bbe62bc6fa
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue May 4 08:33:24 2021 -0400

    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:
---
 sim/mcore/ChangeLog    | 4 ++++
 sim/mcore/interp.c     | 1 -
 sim/mn10300/ChangeLog  | 4 ++++
 sim/mn10300/op_utils.c | 1 -
 sim/moxie/ChangeLog    | 4 ++++
 sim/moxie/interp.c     | 1 -
 6 files changed, 12 insertions(+), 3 deletions(-)

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  <vapier@gentoo.org>
+
+	* interp.c: Delete sys/times.h include.
+
 2021-05-04  Mike Frysinger  <vapier@gentoo.org>
 
 	* 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 <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 8ff717f5da7..a9ba8d74891 100644
--- a/sim/mn10300/ChangeLog
+++ b/sim/mn10300/ChangeLog
@@ -1,3 +1,7 @@
+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.
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 <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 f579ceb21a9..26864471b8a 100644
--- a/sim/moxie/ChangeLog
+++ b/sim/moxie/ChangeLog
@@ -1,3 +1,7 @@
+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.
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 <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"


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-05  2:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-05  2:01 [binutils-gdb] sim: remove sys/times.h in most places Michael Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).