diff options
author | davek <davek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-26 15:09:10 +0000 |
---|---|---|
committer | davek <davek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-26 15:09:10 +0000 |
commit | 8cb516d74008a4a95a3d99b5917ba047694f62fb (patch) | |
tree | 031a5480960c46b8ab269e374fa54532a3f89cef /gcc/ada/cstreams.c | |
parent | 0bcc2f25f0f61476d973b0e46ea5268213707a6e (diff) | |
download | gcc-8cb516d74008a4a95a3d99b5917ba047694f62fb.tar.gz |
PR bootstrap/40578
* adaint.h (FOPEN, STAT, FSTAT, LSTAT, STRUCT_STAT): Rename from these
(GNAT_FOPEN, GNAT_STAT, GNAT_FSTAT, GNAT_LSTAT, GNAT_STRUCT_STAT): ...
to these.
(__gnat_stat): Adjust reference to STAT in prototype.
* adaint.c (__gnat_try_lock, __gnat_fopen, __gnat_file_length,
__gnat_named_file_length, __gnat_file_time_name, __gnat_file_time_fd,
__gnat_get_libraries_from_registry, __gnat_stat, __gnat_file_exists,
__gnat_is_regular_file, __gnat_is_directory, __gnat_is_readable_file,
__gnat_is_writable_file, __gnat_is_executable_file,
__gnat_set_writable, __gnat_set_executable, __gnat_set_non_writable,
__gnat_set_readable, __gnat_set_non_readable, __gnat_is_symbolic_link,
__gnat_copy_attribs): Adjust all references to the above.
* cstreams.c (__gnat_is_regular_file_fd): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150098 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/cstreams.c')
-rw-r--r-- | gcc/ada/cstreams.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/cstreams.c b/gcc/ada/cstreams.c index 2177fdc1512..d57b382a7fb 100644 --- a/gcc/ada/cstreams.c +++ b/gcc/ada/cstreams.c @@ -96,7 +96,7 @@ int __gnat_is_regular_file_fd (int fd) { int ret; - STRUCT_STAT statbuf; + GNAT_STRUCT_STAT statbuf; #ifdef __EMX__ /* Programs using screen I/O may need to reset the FPU after @@ -107,7 +107,7 @@ __gnat_is_regular_file_fd (int fd) __gnat_init_float(); #endif - ret = FSTAT (fd, &statbuf); + ret = GNAT_FSTAT (fd, &statbuf); return (!ret && S_ISREG (statbuf.st_mode)); } |