Skip to content

Commit 9b72b2b

Browse files
authored
Merge pull request #218 from yy214123/fix-comment-errors
Fix incorrect comments
2 parents c0cefe9 + 2a426c0 commit 9b72b2b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

queue.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ bool q_insert_tail(struct list_head *head, char *s);
8181
/**
8282
* q_remove_head() - Remove the element from head of queue
8383
* @head: header of queue
84-
* @sp: string would be inserted
84+
* @sp: output buffer where the removed string is copied
8585
* @bufsize: size of the string
8686
*
8787
* If sp is non-NULL and an element is removed, copy the removed string to *sp
@@ -101,7 +101,7 @@ element_t *q_remove_head(struct list_head *head, char *sp, size_t bufsize);
101101
/**
102102
* q_remove_tail() - Remove the element from tail of queue
103103
* @head: header of queue
104-
* @sp: string would be inserted
104+
* @sp: output buffer where the removed string is copied
105105
* @bufsize: size of the string
106106
*
107107
* Return: the pointer to element, %NULL if queue is NULL or empty.

scripts/checksums

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
db6784ff3917888db4d1dceaa0570d99ed40e762 queue.h
1+
45da6585400a15237f09d896bbb807f85f449e92 queue.h
22
9be9666430f392924f5d27caa71a412527bf9267 list.h
33
3bb0192cee08d165fd597a9f6fbb404533e28fcf scripts/check-commitlog.sh

0 commit comments

Comments
 (0)