Skip to content

Commit

Permalink
dlink.h: Fix checkpatch warnings for function args
Browse files Browse the repository at this point in the history
Checkpatch issued a warning due to missing function argument names.
Add the names to resolve the warnings.

Signed-off-by: Anna Sztukowska <[email protected]>
  • Loading branch information
asztukow authored and mtkaczyk committed Sep 10, 2024
1 parent da26064 commit be1b4ff
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions dlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ struct __dl_head
#define dl_prev(p) *(&(((struct __dl_head*)(p))[-1].dh_prev))

void *dl_head(void);
char *dl_strdup(char *);
char *dl_strndup(char *, int);
void dl_insert(void*, void*);
void dl_add(void*, void*);
void dl_del(void*);
void dl_free(void*);
void dl_init(void*);
char *dl_strdup(char *s);
char *dl_strndup(char *s, int l);
void dl_insert(void *head, void *val);
void dl_add(void *head, void *val);
void dl_del(void *val);
void dl_free(void *v);
void dl_init(void *v);
void dl_free_all(void *head);

0 comments on commit be1b4ff

Please sign in to comment.