about summary refs log tree commit diff
path: root/libio/fileops.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-10-09 15:09:32 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-10-09 15:09:32 +0000
commitc8450f70fa7e68519d015ba9497f59645ba7ed3a (patch)
tree22154e54436a495c3e05d7887c7e137d711e83ec /libio/fileops.c
parent57e605ba50a42e1e5adc0f020f3752e80f117c10 (diff)
downloadglibc-c8450f70fa7e68519d015ba9497f59645ba7ed3a.tar.gz
glibc-c8450f70fa7e68519d015ba9497f59645ba7ed3a.tar.xz
glibc-c8450f70fa7e68519d015ba9497f59645ba7ed3a.zip
Remove _G_off64_t and _G_stat64 from _G_config.h.
Diffstat (limited to 'libio/fileops.c')
-rw-r--r--libio/fileops.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libio/fileops.c b/libio/fileops.c
index 173091cc6c..5367ea9517 100644
--- a/libio/fileops.c
+++ b/libio/fileops.c
@@ -635,7 +635,7 @@ libc_hidden_ver (_IO_new_file_underflow, _IO_file_underflow)
 static int
 mmap_remap_check (_IO_FILE *fp)
 {
-  struct _G_stat64 st;
+  struct stat64 st;
 
   if (_IO_SYSSTAT (fp, &st) == 0
       && S_ISREG (st.st_mode) && st.st_size != 0
@@ -763,7 +763,7 @@ decide_maybe_mmap (_IO_FILE *fp)
      file descriptors are for mmap-able objects and on 32-bit
      machines we don't want to map files which are too large since
      this would require too much virtual memory.  */
-  struct _G_stat64 st;
+  struct stat64 st;
 
   if (_IO_SYSSTAT (fp, &st) == 0
       && S_ISREG (st.st_mode) && st.st_size != 0
@@ -1049,7 +1049,7 @@ _IO_new_file_seekoff (fp, offset, dir, mode)
       break;
     case _IO_seek_end:
       {
-	struct _G_stat64 st;
+	struct stat64 st;
 	if (_IO_SYSSTAT (fp, &st) == 0 && S_ISREG (st.st_mode))
 	  {
 	    offset += st.st_size;
@@ -1250,7 +1250,7 @@ _IO_file_stat (fp, st)
      void *st;
 {
 #ifdef _G_FSTAT64
-  return _G_FSTAT64 (fp->_fileno, (struct _G_stat64 *) st);
+  return _G_FSTAT64 (fp->_fileno, (struct stat64 *) st);
 #else
   return fstat (fp->_fileno, (struct stat *) st);
 #endif