diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2010-04-28 10:32:46 -0600 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2010-04-28 10:32:46 -0600 |
commit | 2f2db8cbc28ec95c742c3513bf508d073c714165 (patch) | |
tree | 797dc72e7be9aec303999939e92790491f46f819 /lib/utimens.c | |
parent | 2b08ed06f030a482b95752c054ac6d5db32b28c1 (diff) | |
download | gnulib-2f2db8cbc28ec95c742c3513bf508d073c714165.tar.gz |
utimens: avoid compiler warning
* lib/utimens.c: On Tru64, the timestamp parameter of utimens(2)
is not declared as a const *; avoid warnings in that case.
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'lib/utimens.c')
-rw-r--r-- | lib/utimens.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/utimens.c b/lib/utimens.c index bdb5a25ae6..35d082de56 100644 --- a/lib/utimens.c +++ b/lib/utimens.c @@ -300,7 +300,7 @@ fdutimens (char const *file, int fd, struct timespec const timespec[2]) { #if HAVE_FUTIMESAT || HAVE_WORKING_UTIMES struct timeval timeval[2]; - struct timeval const *t; + struct timeval *t; if (ts) { timeval[0].tv_sec = ts[0].tv_sec; @@ -484,7 +484,7 @@ lutimens (char const *file, struct timespec const timespec[2]) #if HAVE_LUTIMES && !HAVE_UTIMENSAT { struct timeval timeval[2]; - struct timeval const *t; + struct timeval *t; int result; if (ts) { |