Page MenuHomeFreeBSD

D27151.id79353.diff
No OneTemporary

D27151.id79353.diff

Index: sys/fs/nfs/nfsport.h
===================================================================
--- sys/fs/nfs/nfsport.h
+++ 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
Index: sys/sys/queue.h
===================================================================
--- sys/sys/queue.h
+++ sys/sys/queue.h
@@ -305,6 +305,8 @@
SLIST_FIRST(head2) = swap_first; \
} while (0)
+#define SLIST_END(head) NULL
+
/*
* Singly-linked Tail queue declarations.
*/
@@ -437,6 +439,9 @@
(head2)->stqh_last = &STAILQ_FIRST(head2); \
} while (0)
+#define STAILQ_END(head) NULL
+
+
/*
* List declarations.
*/
@@ -611,6 +616,8 @@
swap_tmp->field.le_prev = &LIST_FIRST((head2)); \
} while (0)
+#define LIST_END(head) NULL
+
/*
* Tail queue declarations.
*/
@@ -867,4 +874,6 @@
(head2)->tqh_last = &(head2)->tqh_first; \
} while (0)
+#define TAILQ_END(head) NULL
+
#endif /* !_SYS_QUEUE_H_ */

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 28, 11:48 PM (17 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30498661
Default Alt Text
D27151.id79353.diff (1 KB)

Event Timeline