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

This commit is contained in:
dtrg
2006-07-30 23:40:35 +00:00
parent d3b557e0db
commit 45b4fef7d6
10 changed files with 54 additions and 28 deletions

View File

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

View File

@@ -10,8 +10,11 @@ static char rcsid[] = "$Id$";
* If everything is kept in core, we must save some things for the second pass.
*/
#include <arch.h>
#include <out.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "arch.h"
#include "out.h"
#include "const.h"
#include "assert.h"
#include "memory.h"
@@ -61,10 +64,8 @@ savechar(piece, off)
{
register long len;
register ind_t newoff;
extern int strlen();
extern ind_t alloc();
extern ind_t hard_alloc();
extern char *strcpy();
if (off == (ind_t)0)
return 0;

View File

@@ -6,13 +6,15 @@
static char rcsid[] = "$Id$";
#endif
#include <stdlib.h>
#include <stdio.h>
#ifdef SYMDBUG
#include <sys/types.h>
#include <sys/stat.h>
#endif /* SYMDBUG */
#include <arch.h>
#include <out.h>
#include <ranlib.h>
#include "arch.h"
#include "out.h"
#include "ranlib.h"
#include "const.h"
#include "assert.h"
#include "memory.h"