Fix more invalid prototypes of stdlib functions; build dependency fix.

This commit is contained in:
David Given 2016-11-24 21:26:05 +01:00
parent b5980af06f
commit b8a2935f2b
2 changed files with 2 additions and 8 deletions

View file

@ -3,6 +3,7 @@
* See the copyright notice in the ACK home directory, in the file "Copyright". * See the copyright notice in the ACK home directory, in the file "Copyright".
*/ */
#include <stdlib.h>
#include <ctype.h> #include <ctype.h>
#include <string.h> #include <string.h>
#include <signal.h> #include <signal.h>
@ -73,11 +74,3 @@ extern Linerecord *currline;
extern char *itoa(); extern char *itoa();
extern char *salloc(); extern char *salloc();
extern char *strcpy();
extern char *strcat();
#if __STDC__
#include <stdlib.h>
#else
extern char *malloc();
#endif

View file

@ -24,6 +24,7 @@ cprogram {
matching(filenamesof("+llgen"), "%.c$"), matching(filenamesof("+llgen"), "%.c$"),
}, },
deps = { deps = {
"./*.h",
"+llgen", "+llgen",
"+tokentab_h", "+tokentab_h",
"h+emheaders", "h+emheaders",