summaryrefslogtreecommitdiff
path: root/src/copy.c
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-09-21 10:28:01 -0600
committerEric Blake <ebb9@byu.net>2009-09-21 20:42:16 -0600
commit32f987af1274d3ed53244564ab537dce8e330e0a (patch)
tree1bb1d6243ef12c284fc18d543bc60036753482e6 /src/copy.c
parentfee869488654c5b971d27d5e2c6a057c947263d1 (diff)
downloadcoreutils-32f987af1274d3ed53244564ab537dce8e330e0a.tar.xz
build: avoid compiler warnings on cygwin 1.5
* src/copy.c (utimens_symlink): Avoid unused variables. * src/su.c (getusershell): Rely on gnulib for prototype.
Diffstat (limited to 'src/copy.c')
-rw-r--r--src/copy.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/copy.c b/src/copy.c
index b7d113fbe..067b1e722 100644
--- a/src/copy.c
+++ b/src/copy.c
@@ -132,6 +132,9 @@ utimens_symlink (char const *file, struct timespec const *timespec)
utimensat fails with ENOSYS. Ignore that. */
if (err && errno == ENOSYS)
err = 0;
+#else
+ (void) file;
+ (void) timespec;
#endif
return err;