Rationalised use of #includes to be more standards-compliant.

This commit is contained in:
dtrg
2006-07-22 12:28:20 +00:00
parent 744d0ca7be
commit fdcdaadcb8
6 changed files with 30 additions and 22 deletions

View File

@@ -8,7 +8,10 @@
* Contains the routine findident, which builds the symbol table and
* searches identifiers
*/
# include "symtab.h"
#include <stdlib.h>
#include <string.h>
#include "symtab.h"
struct symtab *idtable, *deftable;
@@ -20,8 +23,6 @@ findident(s, mode, table) char *s; struct symtab **table; {
* If mode = ENTERING, a new entry will be made if s is not in the
* table yet, otherwise an error results
*/
char *malloc();
char *strcpy();
register struct symtab *p;
register n;