Module Name: src
Committed By: mlelstv
Date: Wed May 1 07:17:18 UTC 2019
Modified Files:
src/sys/uvm: uvm_swap.h
Log Message:
allow NONE build
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/uvm/uvm_swap.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/uvm/uvm_swap.h
diff -u src/sys/uvm/uvm_swap.h:1.24 src/sys/uvm/uvm_swap.h:1.25
--- src/sys/uvm/uvm_swap.h:1.24 Thu Mar 15 03:21:58 2018
+++ src/sys/uvm/uvm_swap.h Wed May 1 07:17:18 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_swap.h,v 1.24 2018/03/15 03:21:58 christos Exp $ */
+/* $NetBSD: uvm_swap.h,v 1.25 2019/05/01 07:17:18 mlelstv Exp $ */
/*
* Copyright (c) 1997 Matthew R. Green
@@ -57,7 +57,7 @@ int uvm_swap_stats(char *, int,
#else /* defined(VMSWAP) */
#define uvm_swapisfull() true
-#define uvm_swap_stats(c, l, f, count, retval) (*retval = 0, ENOSYS)
+#define uvm_swap_stats(c, l, f, count, retval) (__used f, *retval = 0, ENOSYS)
#endif /* defined(VMSWAP) */
void uvm_swap_shutdown(struct lwp *);