projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pivot-output: Really fix formatting of the corner cell.
[pspp]
/
src
/
libpspp
/
ll.c
diff --git
a/src/libpspp/ll.c
b/src/libpspp/ll.c
index 21f8dd8870a2fc96b48ccfd49c228aeb7bc3db21..619adfac244430b5b6b3e231dd29f075737154a8 100644
(file)
--- a/
src/libpspp/ll.c
+++ b/
src/libpspp/ll.c
@@
-30,7
+30,6
@@
#include "libpspp/ll.h"
#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. */
/* 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;
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);
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;
size_t count;
count = 0;
- for (x = r0; x != r1;
)
+ for (x = r0; x != r1;)
if (predicate (x, aux))
{
x = ll_remove (x);
if (predicate (x, aux))
{
x = ll_remove (x);