aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerry DeLisle <jvdelisle@gcc.gnu.org>2010-03-18 03:26:07 +0000
committerJerry DeLisle <jvdelisle@gcc.gnu.org>2010-03-18 03:26:07 +0000
commitbf71e8f0289528ccb632226ce76351b6e83a94a5 (patch)
treef62b11f0335608dd9ab7c498c355106443fae899
parent60936b2231c00ac15bb23405723f997c68f12a27 (diff)
downloadgcc-bf71e8f0289528ccb632226ce76351b6e83a94a5.zip
gcc-bf71e8f0289528ccb632226ce76351b6e83a94a5.tar.gz
gcc-bf71e8f0289528ccb632226ce76351b6e83a94a5.tar.bz2
transfer.c (read_sf_internal): Remove stray function declaration used during debigging.
2010-03-17 Jerry DeLisle <jvdelisle@gcc.gnu.org> * io/transfer.c (read_sf_internal): Remove stray function declaration used during debigging. From-SVN: r157531
-rw-r--r--libgfortran/ChangeLog5
-rw-r--r--libgfortran/io/transfer.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index af5fefe..6f2198b 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,5 +1,10 @@
2010-03-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+ * io/transfer.c (read_sf_internal): Remove stray function declaration
+ used during debigging.
+
+2010-03-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
PR libfortran/43265
* io/io.h: Delete prototype for read_sf, making it static.
* io/read.c (read_x): Modify to call hit_eof if PAD="no".
diff --git a/libgfortran/io/transfer.c b/libgfortran/io/transfer.c
index 9c87b5e..7f6750d 100644
--- a/libgfortran/io/transfer.c
+++ b/libgfortran/io/transfer.c
@@ -191,9 +191,7 @@ current_mode (st_parameter_dt *dtp)
/* Read sequential file - internal unit */
-char *
-read_sf_internal (st_parameter_dt *dtp, int * length);
-char *
+static char *
read_sf_internal (st_parameter_dt *dtp, int * length)
{
static char *empty_string[0];