Skip to content
Snippets Groups Projects
Commit be84b6de authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Vladislav Shpilevoy
Browse files

stailq: provide better names for args


Use self explanatory dest and src (like in strcat).

Signed-off-by: default avatarCyrill Gorcunov <gorcunov@gmail.com>
parent bc58c067
No related branches found
No related tags found
No related merge requests found
......@@ -149,12 +149,12 @@ stailq_empty(struct stailq *head)
* Singly-linked Tail queue functions.
*/
static inline void
stailq_concat(struct stailq *head1, struct stailq *head2)
stailq_concat(struct stailq *dest, struct stailq *src)
{
if (!stailq_empty(head2)) {
*head1->last = head2->first;
head1->last = head2->last;
stailq_create(head2);
if (!stailq_empty(src)) {
*dest->last = src->first;
dest->last = src->last;
stailq_create(src);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment