diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-10-09 15:09:32 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-10-09 15:09:32 +0000 |
commit | c8450f70fa7e68519d015ba9497f59645ba7ed3a (patch) | |
tree | 22154e54436a495c3e05d7887c7e137d711e83ec /libio | |
parent | 57e605ba50a42e1e5adc0f020f3752e80f117c10 (diff) | |
download | glibc-c8450f70fa7e68519d015ba9497f59645ba7ed3a.tar.gz |
Remove _G_off64_t and _G_stat64 from _G_config.h.
Diffstat (limited to 'libio')
-rw-r--r-- | libio/filedoalloc.c | 2 | ||||
-rw-r--r-- | libio/fileops.c | 8 | ||||
-rw-r--r-- | libio/libio.h | 2 | ||||
-rw-r--r-- | libio/oldfileops.c | 2 | ||||
-rw-r--r-- | libio/wfileops.c | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/libio/filedoalloc.c b/libio/filedoalloc.c index b7733c7f88..c9b0f01722 100644 --- a/libio/filedoalloc.c +++ b/libio/filedoalloc.c @@ -96,7 +96,7 @@ _IO_file_doallocate (fp) { _IO_size_t size; char *p; - struct _G_stat64 st; + struct stat64 st; #ifndef _LIBC /* If _IO_cleanup_registration_needed is non-zero, we should call the 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 diff --git a/libio/libio.h b/libio/libio.h index f093a93e99..45f4707e66 100644 --- a/libio/libio.h +++ b/libio/libio.h @@ -37,7 +37,7 @@ #define _IO_size_t size_t #define _IO_ssize_t __ssize_t #define _IO_off_t __off_t -#define _IO_off64_t _G_off64_t +#define _IO_off64_t __off64_t #define _IO_pid_t __pid_t #define _IO_uid_t __uid_t #define _IO_iconv_t _G_iconv_t diff --git a/libio/oldfileops.c b/libio/oldfileops.c index 8fda0484aa..aa4e3f5f91 100644 --- a/libio/oldfileops.c +++ b/libio/oldfileops.c @@ -530,7 +530,7 @@ _IO_old_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; diff --git a/libio/wfileops.c b/libio/wfileops.c index 1087e8df8d..44b1236c01 100644 --- a/libio/wfileops.c +++ b/libio/wfileops.c @@ -787,7 +787,7 @@ _IO_wfile_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; |