At compile time, your function prototype is wrong. This is why you need a wrapper.