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

This commit is contained in:
dtrg 2006-07-22 17:58:49 +00:00
parent 304c0e21a0
commit f232b4dc29
5 changed files with 15 additions and 6 deletions

View file

@ -6,9 +6,11 @@
static char rcsid[] = "$Id$"; static char rcsid[] = "$Id$";
#endif #endif
#include <arch.h> #include <stdlib.h>
#include <out.h> #include <stdio.h>
#include <ranlib.h> #include "arch.h"
#include "out.h"
#include "ranlib.h"
#include "const.h" #include "const.h"
#include "debug.h" #include "debug.h"
#include "defs.h" #include "defs.h"

View file

@ -6,6 +6,7 @@
static char rcsid[] = "$Id$"; static char rcsid[] = "$Id$";
#endif #endif
#include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <out.h> #include <out.h>
#include "const.h" #include "const.h"

View file

@ -6,7 +6,9 @@
static char rcsid[] = "$Id$"; static char rcsid[] = "$Id$";
#endif #endif
#include <out.h> #include <stdlib.h>
#include <stdio.h>
#include "out.h"
#include "const.h" #include "const.h"
#include "debug.h" #include "debug.h"
#include "defs.h" #include "defs.h"

View file

@ -10,7 +10,9 @@ static char rcsid[] = "$Id$";
* Symbol table management. * Symbol table management.
*/ */
#include <out.h> #include <stdlib.h>
#include <stdio.h>
#include "out.h"
#include "const.h" #include "const.h"
#include "memory.h" #include "memory.h"
#include "debug.h" #include "debug.h"

View file

@ -6,8 +6,10 @@
static char rcsid[] = "$Id$"; static char rcsid[] = "$Id$";
#endif #endif
#include <out.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include "out.h"
#include "const.h" #include "const.h"
#include "assert.h" #include "assert.h"
#include "memory.h" #include "memory.h"