]> git.pond.sub.org Git - empserver/commit
update: Drop produce() return value and parameters work, amount
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 4 Jun 2016 06:12:12 +0000 (08:12 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 6 Aug 2017 17:59:57 +0000 (19:59 +0200)
commit0efa8fa7a1c6276a64aacff4d38f34b60223a2af
treea2325b75e5fd00ffe9229162ce53546d2bcfbf7f
parent688c8b736bd268b9abe8f3b6550df35ebe9434a0
update: Drop produce() return value and parameters work, amount

Since changing *sp is safe now, we can move the update of
sp->sct_avail into produce().  This frees the return value; use it to
return the amount produced.  Drop the parameters.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
include/prototypes.h
src/lib/update/produce.c
src/lib/update/sect.c