Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177609293
D20185.1794832726.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
989 B
Referenced Files
None
Subscribers
None
D20185.1794832726.diff
View Options
Index: sys/sys/tree.h
===================================================================
--- sys/sys/tree.h
+++ sys/sys/tree.h
@@ -125,7 +125,7 @@
struct type *name##_SPLAY_REMOVE(struct name *, struct type *); \
\
/* Finds the node with the same key as elm */ \
-static __inline struct type * \
+static __unused __inline struct type * \
name##_SPLAY_FIND(struct name *head, struct type *elm) \
{ \
if (SPLAY_EMPTY(head)) \
@@ -136,7 +136,7 @@
return (NULL); \
} \
\
-static __inline struct type * \
+static __unused __inline struct type * \
name##_SPLAY_NEXT(struct name *head, struct type *elm) \
{ \
name##_SPLAY(head, elm); \
@@ -150,7 +150,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); \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 16, 12:38 PM (21 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41777983
Default Alt Text
D20185.1794832726.diff (989 B)
Attached To
Mode
D20185: Mark __inline functions which are not neccessarily used, with __unused.
Attached
Detach File
Event Timeline