Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct grammar in queue.h function descriptions #282

Merged
merged 1 commit into from
Mar 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions queue.h
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ void q_reverse(struct list_head *head);
* @k: is a positive integer and is less than or equal to the length of the
* linked list.
*
* No effect if queue is NULL or empty. If there has only one element, do
* No effect if queue is NULL or empty. If there is only one element, do
* nothing.
*
* Reference:
Expand All @@ -195,7 +195,7 @@ void q_reverseK(struct list_head *head, int k);
* @head: header of queue
* @descend: whether or not to sort in descending order
*
* No effect if queue is NULL or empty. If there has only one element, do
* No effect if queue is NULL or empty. If there is only one element, do
* nothing.
*/
void q_sort(struct list_head *head, bool descend);
Expand All @@ -205,7 +205,7 @@ void q_sort(struct list_head *head, bool descend);
* value anywhere to the right side of it.
* @head: header of queue
*
* No effect if queue is NULL or empty. If there has only one element, do
* No effect if queue is NULL or empty. If there is only one element, do
* nothing.
*
* Reference:
Expand All @@ -220,7 +220,7 @@ int q_ascend(struct list_head *head);
* value anywhere to the right side of it.
* @head: header of queue
*
* No effect if queue is NULL or empty. If there has only one element, do
* No effect if queue is NULL or empty. If there is only one element, do
* nothing.
*
* Reference:
Expand Down
2 changes: 1 addition & 1 deletion scripts/checksums
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
bff0704601c8197ae6b847647b4167664b7d6abc queue.h
25e7d2797e09bfafa0c0dee70111104648faec9d queue.h
b26e079496803ebe318174bda5850d2cce1fd0c1 list.h
1029c2784b4cae3909190c64f53a06cba12ea38e scripts/check-commitlog.sh
Loading