summaryrefslogtreecommitdiff
path: root/libgfortran/io/unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/io/unix.c')
-rw-r--r--libgfortran/io/unix.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libgfortran/io/unix.c b/libgfortran/io/unix.c
index 185608aba33..3cefd2ab5e5 100644
--- a/libgfortran/io/unix.c
+++ b/libgfortran/io/unix.c
@@ -1112,11 +1112,11 @@ compare_file_filename (stream * s, const char *name, int len)
/* find_file0()-- Recursive work function for find_file() */
-static unit_t *
-find_file0 (unit_t * u, struct stat *st1)
+static gfc_unit *
+find_file0 (gfc_unit * u, struct stat *st1)
{
struct stat st2;
- unit_t *v;
+ gfc_unit *v;
if (u == NULL)
return NULL;
@@ -1140,7 +1140,7 @@ find_file0 (unit_t * u, struct stat *st1)
/* find_file()-- Take the current filename and see if there is a unit
* that has the file already open. Returns a pointer to the unit if so. */
-unit_t *
+gfc_unit *
find_file (void)
{
char path[PATH_MAX + 1];
@@ -1194,7 +1194,7 @@ stream_at_eof (stream * s)
* with the unit. Returns nonzero if something went wrong. */
int
-delete_file (unit_t * u)
+delete_file (gfc_unit * u)
{
char path[PATH_MAX + 1];