update machinery: let CALLBACK() die again
authorPhil Sutter <phil@nwl.cc>
Sun, 6 Sep 2009 23:22:16 +0000 (01:22 +0200)
committerPhil Sutter <phil@nwl.cc>
Sun, 6 Sep 2009 23:22:16 +0000 (01:22 +0200)
commitd32879faaa7e794e2476cbde401bf36d71207e64
treeb53e89dbcbe6f903d9632418210b0e2700cd3660
parente83fb84c55789f04e5264a745326960224a526c8
update machinery: let CALLBACK() die again

There are no INFO_* variables any more, so the argument passed to OBJ()
is always a function pointer or zero. By checking the argument passed in
add_update_callback(), the branch in the OBJ() macro can be dropped,
too.
src/common.c
src/core.c