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:
Bob Little 2017-06-17 20:43:19 -04:00 committed by Eric S. Raymond
parent d92da99106
commit d844c2a391
6 changed files with 20 additions and 19 deletions

2
misc.c
View file

@ -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)