Added 'linty' target for make
"make linty" does lots of error checking while compiling. Simplified the standard make's CFLAGS. Cleaned up code to eliminate resulting warnings generated by "make linty".
This commit is contained in:
parent
d92da99106
commit
d844c2a391
6 changed files with 20 additions and 19 deletions
2
misc.c
2
misc.c
|
@ -45,7 +45,7 @@ void packed_to_token(long packed, char token[6])
|
|||
|
||||
/* I/O routines (SPEAK, PSPEAK, RSPEAK, SETPRM, GETIN, YES) */
|
||||
|
||||
void newspeak(char* msg)
|
||||
void newspeak(const char* msg)
|
||||
{
|
||||
// Do nothing if we got a null pointer.
|
||||
if (msg == NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue