aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/io/unix.c
diff options
context:
space:
mode:
authorJanne Blomqvist <jb@gcc.gnu.org>2011-01-22 00:42:17 +0200
committerJanne Blomqvist <jb@gcc.gnu.org>2011-01-22 00:42:17 +0200
commit723553bdc16695ecc686a2ffdff6d15bd600b676 (patch)
tree5760ecd6dfee3b5a3fbd1f7c8131d34047951c44 /libgfortran/io/unix.c
parent62f9aedcd0a97001f290a1c13fa66efd207a23cc (diff)
downloadgcc-723553bdc16695ecc686a2ffdff6d15bd600b676.zip
gcc-723553bdc16695ecc686a2ffdff6d15bd600b676.tar.gz
gcc-723553bdc16695ecc686a2ffdff6d15bd600b676.tar.bz2
PR 46267 strerror thread safety
From-SVN: r169110
Diffstat (limited to 'libgfortran/io/unix.c')
-rw-r--r--libgfortran/io/unix.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/libgfortran/io/unix.c b/libgfortran/io/unix.c
index fa64e20..950b7a2 100644
--- a/libgfortran/io/unix.c
+++ b/libgfortran/io/unix.c
@@ -256,16 +256,6 @@ flush_if_preconnected (stream * s)
}
-/* get_oserror()-- Get the most recent operating system error. For
- * unix, this is errno. */
-
-const char *
-get_oserror (void)
-{
- return strerror (errno);
-}
-
-
/********************************************************************
Raw I/O functions (read, write, seek, tell, truncate, close).