]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
[list] make node constructor/destructor static
authorRay Strode <rstrode@redhat.com>
Wed, 5 Aug 2009 22:12:21 +0000 (18:12 -0400)
committerRay Strode <rstrode@redhat.com>
Wed, 5 Aug 2009 22:12:21 +0000 (18:12 -0400)
They aren't public API and this fixes a compiler warning.

src/libply/ply-list.c

index 9c4da1eeae777b802cb617a04a99efff7a29fc53..5ecc5a73c11dee4800ba981c8c6798cbc4988ec7 100644 (file)
@@ -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)