From 244580ddcd0cc1040d5bd38ae0a34abf80111a75 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Sun, 29 Mar 2009 18:04:26 +0200 Subject: [PATCH] : Add __unused (fixes warning in undo(1)). --- sys/sys/tree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/tree.h b/sys/sys/tree.h index e8c02b7516..f4d7807e8d 100644 --- a/sys/sys/tree.h +++ b/sys/sys/tree.h @@ -672,7 +672,7 @@ name##_RB_FIND(struct name *head, struct type *elm) \ * deleted while the scan is in progress. \ */ \ static int \ -name##_SCANCMP_ALL(struct type *type, void *data __unused) \ +name##_SCANCMP_ALL(struct type *type __unused, void *data __unused) \ { \ return(0); \ } \ -- 2.41.0