From e4f69ae3a50296ccb23a838ff8a7284dd640ff77 Mon Sep 17 00:00:00 2001
From: fxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Sun, 25 Jun 2006 08:46:09 +0000
Subject: [PATCH] 	* io/io.h: Move proto for unit_to_fd... 	*
 libgfortran.h: ...here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114983 138bc75d-0d04-0410-961f-82ee72b054a4
---
 libgfortran/ChangeLog     | 5 +++++
 libgfortran/io/io.h       | 3 ---
 libgfortran/libgfortran.h | 3 +++
 3 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index cf5860414d0e..8add02fb4e23 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 128b600efdec..aa8a6a693f79 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 8a57bfaf17c6..cb3d6589c334 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);
-- 
GitLab