Module Name: src
Committed By: joerg
Date: Fri Sep 13 19:43:39 UTC 2013
Modified Files:
src/sys/sys: tree.h
Log Message:
Mark the splay MIN_MAX helper function as potentially unused.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/sys/tree.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/sys/tree.h
diff -u src/sys/sys/tree.h:1.18 src/sys/sys/tree.h:1.19
--- src/sys/sys/tree.h:1.18 Fri Mar 29 21:24:31 2013
+++ src/sys/sys/tree.h Fri Sep 13 19:43:38 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: tree.h,v 1.18 2013/03/29 21:24:31 christos Exp $ */
+/* $NetBSD: tree.h,v 1.19 2013/09/13 19:43:38 joerg Exp $ */
/* $OpenBSD: tree.h,v 1.13 2011/07/09 00:19:45 pirofti Exp $ */
/*
* Copyright 2002 Niels Provos <[email protected]>
@@ -144,7 +144,7 @@ name##_SPLAY_NEXT(struct name *head, str
return (elm); \
} \
\
-static __inline struct type * \
+static __unused __inline struct type * \
name##_SPLAY_MIN_MAX(struct name *head, int val) \
{ \
name##_SPLAY_MINMAX(head, val); \