Cleanup target function signatures

Remove compilation warnings by making signatures match new kernel
headers. The map function lost its last (unused) argument in 7de3ee57da
The status function was changed to not return int anymore in fd7c092e71