Change wide functions declarations.

Avoid to use strange define macros and do not include header for every
function.

Signed-off-by: Frediano Ziglio <freddy77@gmail.com>