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

@@ -9,10 +9,12 @@
* it maintains a table of information about the patterns
* Functions : addpattern() and printpatterns()
*/
# include <stdio.h>
# include <ctype.h>
# include "misc.h"
# include "symtab.h"
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include "misc.h"
#include "symtab.h"
struct pattern {
char *p_constraint; /* constraint of this pattern */
@@ -37,7 +39,6 @@ addpattern(str,l,np,nr) char *str; {
* "nr" is the number of instructions in the replacement
* Space is allocated in chunks of 50
*/
char *malloc(), *realloc();
register struct pattern *p;
if (!pattable) { /* No space allocated yet */