Fix more invalid prototypes of stdlib functions; build dependency fix.
This commit is contained in:
		
							parent
							
								
									b5980af06f
								
							
						
					
					
						commit
						b8a2935f2b
					
				
					 2 changed files with 2 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -3,6 +3,7 @@
 | 
			
		|||
 * See the copyright notice in the ACK home directory, in the file "Copyright".
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#include <stdlib.h>
 | 
			
		||||
#include <ctype.h>
 | 
			
		||||
#include <string.h>
 | 
			
		||||
#include <signal.h>
 | 
			
		||||
| 
						 | 
				
			
			@ -73,11 +74,3 @@ extern Linerecord *currline;
 | 
			
		|||
 | 
			
		||||
extern char *itoa();
 | 
			
		||||
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$"),
 | 
			
		||||
	},
 | 
			
		||||
	deps = {
 | 
			
		||||
		"./*.h",
 | 
			
		||||
		"+llgen",
 | 
			
		||||
		"+tokentab_h",
 | 
			
		||||
		"h+emheaders",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue