Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Mark the splay MIN_MAX helper function as potentiall...



details:   https://anonhg.NetBSD.org/src/rev/4df0b404e9ee
branches:  trunk
changeset: 789929:4df0b404e9ee
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Sep 13 19:43:38 2013 +0000

description:
Mark the splay MIN_MAX helper function as potentially unused.

diffstat:

 sys/sys/tree.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r baa4276cfc4b -r 4df0b404e9ee sys/sys/tree.h
--- a/sys/sys/tree.h    Fri Sep 13 19:29:47 2013 +0000
+++ b/sys/sys/tree.h    Fri Sep 13 19:43:38 2013 +0000
@@ -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 <provos%citi.umich.edu@localhost>
@@ -144,7 +144,7 @@
        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);                                 \



Home | Main Index | Thread Index | Old Index