summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libgfortran/ChangeLog4
-rw-r--r--libgfortran/io/unix.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index bfe2f7ef1fe..0a22a0c0df8 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,7 @@
+2010-05-08 Janne Blomqvist <jb@gcc.gnu.org>
+
+ * io/unix.h (mem_alloc_r): Fix typo to reduce visibility.
+
2010-05-07 Janne Blomqvist <jb@gcc.gnu.org>
* libgfortran.h (free_mem): Remove prototype.
diff --git a/libgfortran/io/unix.h b/libgfortran/io/unix.h
index 7ea90fdbee9..c7f92a34c6f 100644
--- a/libgfortran/io/unix.h
+++ b/libgfortran/io/unix.h
@@ -98,7 +98,7 @@ extern char * mem_alloc_w (stream *, int *);
internal_proto(mem_alloc_w);
extern char * mem_alloc_r (stream *, int *);
-internal_proto(mem_alloc_w);
+internal_proto(mem_alloc_r);
extern stream *input_stream (void);
internal_proto(input_stream);