summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libgfortran/ChangeLog5
-rw-r--r--libgfortran/io/io.h3
-rw-r--r--libgfortran/libgfortran.h3
3 files changed, 8 insertions, 3 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index cf5860414d0..8add02fb4e2 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,8 @@
+2006-06-25 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * io/io.h: Move proto for unit_to_fd...
+ * libgfortran.h: ...here.
+
2006-06-24 Francois-Xavier Coudert <coudert@clipper.ens.fr>
* intrinsics/ierrno.c: Don't include "io/io.h".
diff --git a/libgfortran/io/io.h b/libgfortran/io/io.h
index 128b600efde..aa8a6a693f7 100644
--- a/libgfortran/io/io.h
+++ b/libgfortran/io/io.h
@@ -682,9 +682,6 @@ internal_proto(stream_ttyname);
extern gfc_offset stream_offset (stream *s);
internal_proto(stream_offset);
-extern int unit_to_fd (int);
-internal_proto(unit_to_fd);
-
extern int unpack_filename (char *, const char *, int);
internal_proto(unpack_filename);
diff --git a/libgfortran/libgfortran.h b/libgfortran/libgfortran.h
index 8a57bfaf17c..cb3d6589c33 100644
--- a/libgfortran/libgfortran.h
+++ b/libgfortran/libgfortran.h
@@ -545,6 +545,9 @@ internal_proto(init_units);
extern void close_units (void);
internal_proto(close_units);
+extern int unit_to_fd (int);
+internal_proto(unit_to_fd);
+
/* stop.c */
extern void stop_numeric (GFC_INTEGER_4);