change "type *var" to "type* var"; same for reference

Signed-off-by: anti-freak <antifreak2011@gmail.com>