mirror of https://github.com/mkerrisk/man-pages
slist.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
c5127de6ff
commit
1297239d41
|
@ -305,7 +305,7 @@ without interfering with the traversal.
|
|||
|
||||
struct entry {
|
||||
int data;
|
||||
SLIST_ENTRY(entry) entries; /* Singly linked List */
|
||||
SLIST_ENTRY(entry) entries; /* Singly linked list */
|
||||
};
|
||||
|
||||
SLIST_HEAD(slisthead, entry);
|
||||
|
@ -314,7 +314,7 @@ int
|
|||
main(void)
|
||||
{
|
||||
struct entry *n1, *n2, *n3, *np;
|
||||
struct slisthead head; /* Singly linked List
|
||||
struct slisthead head; /* Singly linked list
|
||||
head */
|
||||
|
||||
SLIST_INIT(&head); /* Initialize the queue */
|
||||
|
|
Loading…
Reference in New Issue