]> git.ozlabs.org Git - ccan/commit
tally: implement tally_total()
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 24 Sep 2010 07:42:07 +0000 (17:12 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 24 Sep 2010 07:42:07 +0000 (17:12 +0930)
commite0fd4d1173f6d761dd6e09f820e1901e9400d8ba
treea75cf814e8f0848124a7e627cfe4bc74bab20e46
parent95bf6d3f652c031e1bf4a2ef5df187b6f34a4c01
tally: implement tally_total()

Not as trivial as you might think, with overflow and underflow.
ccan/tally/tally.c
ccan/tally/tally.h
ccan/tally/test/run-total.c [new file with mode: 0644]