patch-2.3.47 linux/include/linux/lists.h
Next file: linux/include/linux/lockd/debug.h
Previous file: linux/include/linux/irq.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Feb 20 14:14:16 2000
- Orig file:
v2.3.46/linux/include/linux/lists.h
- Orig date:
Mon Mar 30 00:21:41 1998
diff -u --recursive --new-file v2.3.46/linux/include/linux/lists.h linux/include/linux/lists.h
@@ -48,7 +48,7 @@
#define QUEUE_FIRST(head, listnam) (head)->DLIST_NEXT(listnam)
#define QUEUE_LAST(head, listnam) (head)->DLIST_PREV(listnam)
-#define QUEUE_EMPTY(head, listnam) \
+#define QUEUE_IS_EMPTY(head, listnam) \
((QUEUE_FIRST(head, listnam) == QUEUE_LAST(head, listnam)) && \
((u_long)QUEUE_FIRST(head, listnam) == (u_long)head))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)