icons: added psppire- prefix to action items #58708, #50026
[pspp] / src / libpspp / ll.c
index 21f8dd8870a2fc96b48ccfd49c228aeb7bc3db21..619adfac244430b5b6b3e231dd29f075737154a8 100644 (file)
@@ -30,7 +30,6 @@
 
 #include "libpspp/ll.h"
 
-#include <assert.h>
 
 /* Returns the number of nodes in LIST (not counting the null
    node).  Executes in O(n) time in the length of the list. */
@@ -122,7 +121,7 @@ ll_remove_equal (struct ll *r0, struct ll *r1, struct ll *target,
   size_t count;
 
   count = 0;
-  for (x = r0; x != r1; )
+  for (x = r0; x != r1;)
     if (compare (x, target, aux) == 0)
       {
         x = ll_remove (x);
@@ -145,7 +144,7 @@ ll_remove_if (struct ll *r0, struct ll *r1,
   size_t count;
 
   count = 0;
-  for (x = r0; x != r1; )
+  for (x = r0; x != r1;)
     if (predicate (x, aux))
       {
         x = ll_remove (x);