Rationalised use of #includes to be more standards-compliant.
This commit is contained in:
parent
4b79248af9
commit
6073ee934e
|
@ -5,9 +5,10 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <out.h>
|
||||
#include "out.h"
|
||||
|
||||
#define DATTYPE 0
|
||||
#define EOFTYPE 1
|
||||
|
@ -57,7 +58,6 @@ main(argc,argv) char **argv; {
|
|||
pc = sect[i].os_base;
|
||||
while (sect[i].os_size) {
|
||||
unsigned int sz = 8096, fl;
|
||||
extern char *calloc();
|
||||
register char *buf;
|
||||
char *pbuf;
|
||||
|
||||
|
@ -165,7 +165,10 @@ reply() {
|
|||
write(1,&c,1);
|
||||
}
|
||||
|
||||
fatal(s,a) {
|
||||
fatal(s,a)
|
||||
const char* s;
|
||||
const char* a;
|
||||
{
|
||||
|
||||
fprintf(stderr,"%s: ",progname);
|
||||
fprintf(stderr,s,a);
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
||||
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <em.h>
|
||||
#include <em_mes.h>
|
||||
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
||||
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <em.h>
|
||||
#include <em_mes.h>
|
||||
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
* (c) copyright 1990 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
||||
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <em.h>
|
||||
#include <em_mes.h>
|
||||
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
* (c) copyright 1990 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
||||
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <em.h>
|
||||
#include <em_mes.h>
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*/
|
||||
/* $Id$ */
|
||||
|
||||
#include <flt_arith.h>
|
||||
#include "flt_arith.h"
|
||||
|
||||
/* some short-hands ... */
|
||||
#define m1 flt_mantissa.flt_h_32
|
||||
|
|
|
@ -16,14 +16,15 @@ static char rcsid[] = "$Id$";
|
|||
linked.
|
||||
*/
|
||||
|
||||
#include <system.h>
|
||||
#include <em_pseu.h>
|
||||
#include <em_mnem.h>
|
||||
#include <em_spec.h>
|
||||
#include <em_flag.h>
|
||||
#include <em_ptyp.h>
|
||||
#include <em.h>
|
||||
#include <em_comp.h>
|
||||
#include <stdlib.h>
|
||||
#include "system.h"
|
||||
#include "em_pseu.h"
|
||||
#include "em_mnem.h"
|
||||
#include "em_spec.h"
|
||||
#include "em_flag.h"
|
||||
#include "em_ptyp.h"
|
||||
#include "em.h"
|
||||
#include "em_comp.h"
|
||||
|
||||
char *filename; /* Name of input file */
|
||||
int errors; /* Number of errors */
|
||||
|
|
Loading…
Reference in a new issue