diff options
author | fxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-12-21 09:49:40 +0000 |
---|---|---|
committer | fxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-12-21 09:49:40 +0000 |
commit | c101bae7427a558698c95445d1cad970c28ef133 (patch) | |
tree | 5588f37e2f31e6906457df6b843e50d7ecad0cab /libgfortran | |
parent | 670b225d6c03b803166555ba13b981ffdcb10706 (diff) | |
download | gcc-c101bae7427a558698c95445d1cad970c28ef133.tar.gz |
PR libfortran/70311
* intrinsics/selected_char_kind.c: Include <strings.h> header.
* runtime/environ.c: Include <strings.h> header.
* runtime/string.c: Include <strings.h> header.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@243843 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran')
-rw-r--r-- | libgfortran/ChangeLog | 7 | ||||
-rw-r--r-- | libgfortran/intrinsics/selected_char_kind.c | 2 | ||||
-rw-r--r-- | libgfortran/runtime/environ.c | 1 | ||||
-rw-r--r-- | libgfortran/runtime/string.c | 1 |
4 files changed, 10 insertions, 1 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 2c24253b640..c98e5890cbe 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,5 +1,12 @@ 2016-12-21 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + PR libfortran/70311 + * intrinsics/selected_char_kind.c: Include <strings.h> header. + * runtime/environ.c: Include <strings.h> header. + * runtime/string.c: Include <strings.h> header. + +2016-12-21 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + * gfortran.map: Remove _gfortran_ftell2. * io/intrinsics.c (ftell): Remove. (ftell2): Rename to ftell. diff --git a/libgfortran/intrinsics/selected_char_kind.c b/libgfortran/intrinsics/selected_char_kind.c index bbb95a93cdc..8e400a45e64 100644 --- a/libgfortran/intrinsics/selected_char_kind.c +++ b/libgfortran/intrinsics/selected_char_kind.c @@ -25,7 +25,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #include "libgfortran.h" -#include <string.h> +#include <strings.h> extern GFC_INTEGER_4 selected_char_kind (gfc_charlen_type, char *); diff --git a/libgfortran/runtime/environ.c b/libgfortran/runtime/environ.c index 07c6351a8d9..280f53303fa 100644 --- a/libgfortran/runtime/environ.c +++ b/libgfortran/runtime/environ.c @@ -25,6 +25,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #include "libgfortran.h" #include <string.h> +#include <strings.h> #include <stdlib.h> #include <ctype.h> diff --git a/libgfortran/runtime/string.c b/libgfortran/runtime/string.c index bb486d9bb6b..21505730ccb 100644 --- a/libgfortran/runtime/string.c +++ b/libgfortran/runtime/string.c @@ -24,6 +24,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #include "libgfortran.h" #include <string.h> +#include <strings.h> #include <stdlib.h> |