- Pass NULL instead of 0 where a pointer is expected. - Use consistient error message format. - Use tab for basic indentation.