Fix more invalid prototypes of stdlib functions; build dependency fix.
This commit is contained in:
parent
b5980af06f
commit
b8a2935f2b
|
@ -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
|
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue