Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107064056
D27151.id82591.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D27151.id82591.diff
View Options
diff --git a/sys/fs/nfs/nfsport.h b/sys/fs/nfs/nfsport.h
--- a/sys/fs/nfs/nfsport.h
+++ b/sys/fs/nfs/nfsport.h
@@ -880,9 +880,11 @@
/*
* Some queue.h files don't have these dfined in them.
*/
+#ifndef LIST_END
#define LIST_END(head) NULL
#define SLIST_END(head) NULL
#define TAILQ_END(head) NULL
+#endif
/*
* This must be defined to be a global variable that increments once
diff --git a/sys/sys/queue.h b/sys/sys/queue.h
--- a/sys/sys/queue.h
+++ b/sys/sys/queue.h
@@ -91,6 +91,7 @@
* _CLASS_ENTRY + + + +
* _INIT + + + +
* _EMPTY + + + +
+ * _END + + + +
* _FIRST + + + +
* _NEXT + + + +
* _PREV - + - +
@@ -305,6 +306,8 @@
SLIST_FIRST(head2) = swap_first; \
} while (0)
+#define SLIST_END(head) NULL
+
/*
* Singly-linked Tail queue declarations.
*/
@@ -437,6 +440,9 @@
(head2)->stqh_last = &STAILQ_FIRST(head2); \
} while (0)
+#define STAILQ_END(head) NULL
+
+
/*
* List declarations.
*/
@@ -611,6 +617,8 @@
swap_tmp->field.le_prev = &LIST_FIRST((head2)); \
} while (0)
+#define LIST_END(head) NULL
+
/*
* Tail queue declarations.
*/
@@ -867,4 +875,6 @@
(head2)->tqh_last = &(head2)->tqh_first; \
} while (0)
+#define TAILQ_END(head) NULL
+
#endif /* !_SYS_QUEUE_H_ */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 10, 1:17 PM (10 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15737139
Default Alt Text
D27151.id82591.diff (1 KB)
Attached To
Mode
D27151: qeueue.h: Add {SLIST,STAILQ,LIST,TAILQ}_END()
Attached
Detach File
Event Timeline
Log In to Comment