core: fix two more 'no real prototype' warnings, fix one wrong caller in timer mod