Common C programming idioms and developer practices

Comparing literal and variable

Do not leave the parameter list of a function blank use void