mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 12:28:12 +02:00
[list] make node constructor/destructor static
They aren't public API and this fixes a compiler warning.
This commit is contained in:
parent
9a5830f0b4
commit
a50b3432b7
1 changed files with 2 additions and 2 deletions
|
|
@ -65,7 +65,7 @@ ply_list_free (ply_list_t *list)
|
|||
free (list);
|
||||
}
|
||||
|
||||
ply_list_node_t *
|
||||
static ply_list_node_t *
|
||||
ply_list_node_new (void *data)
|
||||
{
|
||||
ply_list_node_t *node;
|
||||
|
|
@ -76,7 +76,7 @@ ply_list_node_new (void *data)
|
|||
return node;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
ply_list_node_free (ply_list_node_t *node)
|
||||
{
|
||||
if (node == NULL)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue