summaryrefslogtreecommitdiff
path: root/libgfortran/io
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/io')
-rw-r--r--libgfortran/io/fbuf.c1
-rw-r--r--libgfortran/io/format.c1
-rw-r--r--libgfortran/io/intrinsics.c1
-rw-r--r--libgfortran/io/list_read.c1
-rw-r--r--libgfortran/io/lock.c1
-rw-r--r--libgfortran/io/open.c1
-rw-r--r--libgfortran/io/read.c1
-rw-r--r--libgfortran/io/transfer.c1
-rw-r--r--libgfortran/io/unit.c1
-rw-r--r--libgfortran/io/unix.c1
-rw-r--r--libgfortran/io/write.c2
11 files changed, 1 insertions, 11 deletions
diff --git a/libgfortran/io/fbuf.c b/libgfortran/io/fbuf.c
index 9795bcaaf2b1..26191ddd8fac 100644
--- a/libgfortran/io/fbuf.c
+++ b/libgfortran/io/fbuf.c
@@ -27,7 +27,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include "fbuf.h"
#include "unix.h"
#include <string.h>
-#include <stdlib.h>
//#define FBUF_DEBUG
diff --git a/libgfortran/io/format.c b/libgfortran/io/format.c
index 8a1859749e16..9f9d207ca100 100644
--- a/libgfortran/io/format.c
+++ b/libgfortran/io/format.c
@@ -31,7 +31,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include "format.h"
#include <ctype.h>
#include <string.h>
-#include <stdlib.h>
static const fnode colon_node = { FMT_COLON, 0, NULL, NULL, {{ 0, 0, 0 }}, 0,
diff --git a/libgfortran/io/intrinsics.c b/libgfortran/io/intrinsics.c
index ad8e28bc4b5c..830f17a310e8 100644
--- a/libgfortran/io/intrinsics.c
+++ b/libgfortran/io/intrinsics.c
@@ -26,7 +26,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include "io.h"
#include "fbuf.h"
#include "unix.h"
-#include <stdlib.h>
#include <string.h>
diff --git a/libgfortran/io/list_read.c b/libgfortran/io/list_read.c
index a35beb88a004..03c95781828d 100644
--- a/libgfortran/io/list_read.c
+++ b/libgfortran/io/list_read.c
@@ -29,7 +29,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include "fbuf.h"
#include "unix.h"
#include <string.h>
-#include <stdlib.h>
#include <ctype.h>
typedef unsigned char uchar;
diff --git a/libgfortran/io/lock.c b/libgfortran/io/lock.c
index 144f81fa63fd..4f8ae0b39df8 100644
--- a/libgfortran/io/lock.c
+++ b/libgfortran/io/lock.c
@@ -25,7 +25,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include "io.h"
#include <string.h>
-#include <stdlib.h>
/* library_start()-- Called with a library call is entered. */
diff --git a/libgfortran/io/open.c b/libgfortran/io/open.c
index b0f1009deeb8..ccac65dd51b7 100644
--- a/libgfortran/io/open.c
+++ b/libgfortran/io/open.c
@@ -33,7 +33,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include <string.h>
#include <errno.h>
-#include <stdlib.h>
static const st_option access_opt[] = {
diff --git a/libgfortran/io/read.c b/libgfortran/io/read.c
index c8ea64345476..86000316e211 100644
--- a/libgfortran/io/read.c
+++ b/libgfortran/io/read.c
@@ -29,7 +29,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include "unix.h"
#include <string.h>
#include <ctype.h>
-#include <stdlib.h>
#include <assert.h>
typedef unsigned char uchar;
diff --git a/libgfortran/io/transfer.c b/libgfortran/io/transfer.c
index ebc2720fdc1c..be8c8a6d787f 100644
--- a/libgfortran/io/transfer.c
+++ b/libgfortran/io/transfer.c
@@ -32,7 +32,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include "format.h"
#include "unix.h"
#include <string.h>
-#include <stdlib.h>
#include <errno.h>
diff --git a/libgfortran/io/unit.c b/libgfortran/io/unit.c
index 6fa264c4e5c4..b0ba3109b236 100644
--- a/libgfortran/io/unit.c
+++ b/libgfortran/io/unit.c
@@ -27,7 +27,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include "fbuf.h"
#include "format.h"
#include "unix.h"
-#include <stdlib.h>
#include <string.h>
#include <assert.h>
diff --git a/libgfortran/io/unix.c b/libgfortran/io/unix.c
index a3ba919014b7..b135984bad34 100644
--- a/libgfortran/io/unix.c
+++ b/libgfortran/io/unix.c
@@ -27,7 +27,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include "io.h"
#include "unix.h"
-#include <stdlib.h>
#include <limits.h>
#ifdef HAVE_UNISTD_H
diff --git a/libgfortran/io/write.c b/libgfortran/io/write.c
index 76dcb6399f0b..340f7678b571 100644
--- a/libgfortran/io/write.c
+++ b/libgfortran/io/write.c
@@ -31,7 +31,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include <assert.h>
#include <string.h>
#include <ctype.h>
-#include <stdlib.h>
+
#define star_fill(p, n) memset(p, '*', n)
typedef unsigned char uchar;