Skip to content

Commit

Permalink
Merge pull request sysprog21#131 from ShamrockLee/queue-h-doc-fix
Browse files Browse the repository at this point in the history
Fix documentation in queue.h: q_reverseK returns nothing
  • Loading branch information
eecheng87 authored Feb 28, 2023
2 parents 59e516b + e2abe22 commit 4da7bb5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion queue.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ void q_reverse(struct list_head *head);

/**
* q_reverseK() - Given the head of a linked list, reverse the nodes of the list
* k at a time, and return the modified list.
* k at a time.
* @head: header of queue
* @k: is a positive integer and is less than or equal to the length of the
* linked list.
Expand Down
1 change: 1 addition & 0 deletions scripts/aspell-pws
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ recvmmsg
seccomp
userfaultfd
compat
reverseK
rt
rr
sigaction
Expand Down
2 changes: 1 addition & 1 deletion scripts/checksums
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
6fc9cebc7287e85656bd0f80bb29162283e008ab queue.h
0690973a922f166c7da4957c2c884c1ff80501c0 queue.h
3337dbccc33eceedda78e36cc118d5a374838ec7 list.h

0 comments on commit 4da7bb5

Please sign in to comment.