Fix comment: new elements can be added to a simpleq after an existing
element, but not before.
This commit is contained in:
parent
32a8cb8434
commit
02abe744f1
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: queue.h,v 1.17 1998/12/09 12:26:58 christos Exp $ */
|
||||
/* $NetBSD: queue.h,v 1.18 1999/01/29 01:05:03 tv Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1991, 1993
|
||||
@ -52,7 +52,7 @@
|
||||
* A simple queue is headed by a pair of pointers, one the head of the
|
||||
* list and the other to the tail of the list. The elements are singly
|
||||
* linked to save space, so only elements can only be removed from the
|
||||
* head of the list. New elements can be added to the list before or after
|
||||
* head of the list. New elements can be added to the list after
|
||||
* an existing element, at the head of the list, or at the end of the
|
||||
* list. A simple queue may only be traversed in the forward direction.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user