Rationalised use of #includes to be more standards-compliant.
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user