add a xxx_done() method to aproc structures, that cleans up just
authorratchov <ratchov@openbsd.org>
Thu, 14 Aug 2008 09:45:23 +0000 (09:45 +0000)
committerratchov <ratchov@openbsd.org>
Thu, 14 Aug 2008 09:45:23 +0000 (09:45 +0000)
commitf04a1c4f2bd064fe8c7170e5f6958c90ee295648
treed555672974ed57f6556af11576b2b92b0ae7fdde
parent6abfcad7c2896811f8f3a66487be98ff34ce7441
add a xxx_done() method to aproc structures, that cleans up just
before free()ing the aproc structure, this is cleaner and will
allow to reuse wpipe_xxx() and rpipe_xxx() when defining new
aprocs. No behaviour change.

ok jakemsr
usr.bin/aucat/aproc.c
usr.bin/aucat/aproc.h