aboutsummaryrefslogtreecommitdiff
path: root/ccan/heap
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2021-12-09 00:15:58 +1000
committerCédric Le Goater <clg@kaod.org>2021-12-09 11:09:01 +0100
commit10d50007fb289ed5a625aa3c195b3a953f1e64c1 (patch)
tree219a676b25093770d7424872e628318b3045fd58 /ccan/heap
parent03c0a9f086537310afe4ce2f5168e4fc41418f33 (diff)
downloadskiboot-10d50007fb289ed5a625aa3c195b3a953f1e64c1.zip
skiboot-10d50007fb289ed5a625aa3c195b3a953f1e64c1.tar.gz
skiboot-10d50007fb289ed5a625aa3c195b3a953f1e64c1.tar.bz2
ccan: sync to upstream ccan.git commit ca7c5a9e04f3
sync to upstream ccan.git commit ca7c5a9e04f3 ("ccan: make tal_dump() format more regular."). The recipe used to sync upstream is: $ cd ccan $ ./tools/create-ccan-tree -b make tmp \ array_size check_type container_of heap \ short_types build_assert endian list str $ # replace directories in skiboot/ccan/ with those in tmp/ccan/ $ cd ../skiboot $ patch -p1 < ccan/skiboot.patch This also adds a README.skiboot to help with future updates. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'ccan/heap')
-rw-r--r--ccan/heap/test/run.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ccan/heap/test/run.c b/ccan/heap/test/run.c
index 2c63283..6972a6b 100644
--- a/ccan/heap/test/run.c
+++ b/ccan/heap/test/run.c
@@ -82,7 +82,7 @@ static bool some_test(size_t n, bool is_less)
item = &items[i];
item->v = rand();
- /* printf("pushing %d\n", item->v); */
+ printf("pushing %d\n", item->v);
heap_push(h, item);
if (!heap_ok(h, is_less ? __less : __more, 0))
return false;
@@ -104,7 +104,7 @@ static bool some_test(size_t n, bool is_less)
item = heap_pop(h);
if (!heap_ok(h, is_less ? __less : __more, 0))
return false;
- /* printf("popped %d\n", item->v); */
+ printf("popped %d\n", item->v);
if (i > 0) {
if (is_less) {
if (less(item, prev))