diff options
author | fxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-12-01 21:16:26 +0000 |
---|---|---|
committer | fxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-12-01 21:16:26 +0000 |
commit | 3b55068267229e027ce658f09cc53be843efacf8 (patch) | |
tree | 548f77f5c381abf9de8b30e1f4cf925f5268a546 /libgfortran/intrinsics/umask.c | |
parent | 5c3cc815c507bbd4db1a0b08fa3683d41c9fc784 (diff) | |
download | gcc-3b55068267229e027ce658f09cc53be843efacf8.tar.gz |
* intrinsic/stat.c (stat_i4_sub_0, stat_i8_sub_0): Mark parameter
with unused attribute.
* intrinsics/system_clock.c (system_clock_4, system_clock_8):
Remove unused variable.
* intrinsics/umask.c: Include unistd.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130561 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/intrinsics/umask.c')
-rw-r--r-- | libgfortran/intrinsics/umask.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libgfortran/intrinsics/umask.c b/libgfortran/intrinsics/umask.c index c348c7227ae..81f84d26462 100644 --- a/libgfortran/intrinsics/umask.c +++ b/libgfortran/intrinsics/umask.c @@ -39,6 +39,11 @@ Boston, MA 02110-1301, USA. */ #include <sys/stat.h> #endif +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#endif + + /* SUBROUTINE UMASK(MASK, OLD) INTEGER, INTENT(IN) :: MASK INTEGER, INTENT(OUT), OPTIONAL :: OLD */ |