KnightOS/z80e — pull request #3 by nitrix (2014-03-03 03:10:17+00:00)
Title: Minor fix: asterisk inconsistencies

Your team is inconsistent with their asterisk placement.
I quickly fixed them up as I was getting familiar with the codebase.

Consider what happens when you declare:
int* a,b,c; <-- a is an int *, but b and c are just int.

int *a,b,*c,d,*e,*f; <-- is a lot more clear.

As a reference, here's the two possible placements:

char* x; <-- x is a char *
char *x; <-- *x is a char

In C, declaration follows usages, therefore the latter is preferable (read idiomatic).