callbacks: allow for case where callback is void

Signed-off-by: Peter Williams <pwil3058@gmail.com>