Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F154006088
D20185.id57140.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
989 B
Referenced Files
None
Subscribers
None
D20185.id57140.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
Sun, Apr 26, 10:04 AM (16 m, 12 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32179617
Default Alt Text
D20185.id57140.diff (989 B)
Attached To
Mode
D20185: Mark __inline functions which are not neccessarily used, with __unused.
Attached
Detach File
Event Timeline
Log In to Comment