aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeebs <seebs@seebs.net>2019-04-10 10:41:34 -0500
committerSeebs <seebs@seebs.net>2019-04-10 11:03:50 -0500
commit3fa7c853e0bcd6fe23f7524c2a3c9e3af90901c3 (patch)
tree78de06f46640bfec3432cfbe00b7fd3e58041158
parenta1fafc4a96e07d20678a243d2f158c4a3f06a17a (diff)
downloadpseudo-3fa7c853e0bcd6fe23f7524c2a3c9e3af90901c3.tar.gz
pseudo-3fa7c853e0bcd6fe23f7524c2a3c9e3af90901c3.tar.bz2
pseudo-3fa7c853e0bcd6fe23f7524c2a3c9e3af90901c3.zip
fix warnings in renameat2
Clean up the "unused parameter" warnings in renameat2.
-rw-r--r--ChangeLog.txt1
-rw-r--r--ports/linux/guts/renameat2.c5
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt
index b5f64c7..60666e5 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,6 +1,7 @@
2019-04-10:
* (seebs) Experimental workaround for special non-blocking open
case.
+ * (seebs) fix warnings in renameat2.
2019-04-09:
* (seebs) Partial fix for db corruption issue.
diff --git a/ports/linux/guts/renameat2.c b/ports/linux/guts/renameat2.c
index 0df8369..135933b 100644
--- a/ports/linux/guts/renameat2.c
+++ b/ports/linux/guts/renameat2.c
@@ -9,6 +9,11 @@
* int rc = -1;
*/
+ (void) olddirfd;
+ (void) oldpath;
+ (void) newdirfd;
+ (void) newpath;
+ (void) flags;
/* for now, let's try just failing out hard, and hope things retry with a
* different syscall.
*/