Module Name: src Committed By: joerg Date: Sat Sep 14 13:20:45 UTC 2013
Modified Files: src/sys/sys: tree.h Log Message: Some splay trees don't use the next method, so mark it as potentially unused To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 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.19 src/sys/sys/tree.h:1.20 --- src/sys/sys/tree.h:1.19 Fri Sep 13 19:43:38 2013 +++ src/sys/sys/tree.h Sat Sep 14 13:20:45 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: tree.h,v 1.19 2013/09/13 19:43:38 joerg Exp $ */ +/* $NetBSD: tree.h,v 1.20 2013/09/14 13:20:45 joerg Exp $ */ /* $OpenBSD: tree.h,v 1.13 2011/07/09 00:19:45 pirofti Exp $ */ /* * Copyright 2002 Niels Provos <pro...@citi.umich.edu> @@ -130,7 +130,7 @@ name##_SPLAY_FIND(struct name *head, str return (NULL); \ } \ \ -static __inline struct type * \ +static __inline __unused struct type * \ name##_SPLAY_NEXT(struct name *head, struct type *elm) \ { \ name##_SPLAY(head, elm); \