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

This commit is contained in:
dtrg
2006-07-19 14:09:05 +00:00
parent 4b79248af9
commit 6073ee934e
7 changed files with 30 additions and 14 deletions

View File

@@ -5,9 +5,10 @@
*
*/
#include <stdio.h>
#include <assert.h>
#include <out.h>
#include <stdlib.h>
#include <stdio.h>
#include <assert.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);