reformatted sources.
changed type and reference in astyle to name instead of type.

Signed-off-by: revelator <ralphengels@gmail.com>