]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
sim: remove sys/times.h in most places
authorMike Frysinger <vapier@gentoo.org>
Tue, 4 May 2021 12:33:24 +0000 (08:33 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 5 May 2021 01:56:38 +0000 (21:56 -0400)
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).

sim/mcore/ChangeLog
sim/mcore/interp.c
sim/mn10300/ChangeLog
sim/mn10300/op_utils.c
sim/moxie/ChangeLog
sim/moxie/interp.c

index d028e2bfa37f8581e3ec38f33be069733a50d631..83b788a179ba2843e738a44e3a112165cd837d87 100644 (file)
@@ -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.
index 09e005f1d394b72ff5a91605594fc3a43082320c..6eadf04d0491c4e3c77487b911ca1e385b48c935 100644 (file)
@@ -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"
index 8ff717f5da7b64e258050eeab8528316c6728497..a9ba8d74891f06f83b822c7324c75d8a73392e06 100644 (file)
@@ -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.
index 37d432376425ed0c05d71c4ad2d1573a52148048..882ff4624099696b1521015017bf4bc06f4c7b5c 100644 (file)
@@ -8,7 +8,6 @@
 #endif
 #include <string.h>
 #include <sys/stat.h>
-#include <sys/times.h>
 #include <sys/time.h>
 
 
index f579ceb21a97a3beaccee0b211cb990e147abdc0..26864471b8a7193a9791d2fe3c01bc490e0361a7 100644 (file)
@@ -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.
index 417ff9ea55033716e04c4b91f5441f62a0b762e3..4228dd5a466822d01f22822c7746db527281d516 100644 (file)
@@ -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"