Unify coding style of function definition

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>