Replace data accounting functions with one that does everything at once
commit1e6f23857337438451db966181e8d14a67561512
authorNicolas Pennequin <nicolas@nicolas-laptop.(none)>
Thu, 25 Oct 2007 17:21:18 +0000 (25 19:21 +0200)
committerlearman <learman@a1c6a512-1295-4272-9138-f99709370657>
Thu, 25 Oct 2007 19:18:20 +0000 (25 19:18 +0000)
tree222316b362e555bba4c3017a8d36997efa3dc41e
parent6fd00dc01730e6bc0f9e0a97b92587d1751f92ee
Replace data accounting functions with one that does everything at once

We remove data_rem(), wasted_space(), buffered_data() and useful_data()
and replace them with update_data_counters(). This saves some annoying
code duplication and probably improves speed too.
Suggested by lostlogic.
apps/buffering.c