Removed duplicate (and incorrect) system function declarations.
This commit is contained in:
parent
70218cfeed
commit
34ae7c4634
|
@ -100,7 +100,6 @@ int output;
|
||||||
|
|
||||||
char *program ;
|
char *program ;
|
||||||
|
|
||||||
extern long lseek();
|
|
||||||
#define TEXTSG 0
|
#define TEXTSG 0
|
||||||
#define ROMSG 1
|
#define ROMSG 1
|
||||||
#define DATASG 2
|
#define DATASG 2
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
||||||
*/
|
*/
|
||||||
#include <local.h>
|
#include <local.h>
|
||||||
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <out.h>
|
#include <out.h>
|
||||||
#include <ranlib.h>
|
#include <ranlib.h>
|
||||||
|
|
|
@ -5,8 +5,6 @@
|
||||||
*/
|
*/
|
||||||
#include "obj.h"
|
#include "obj.h"
|
||||||
|
|
||||||
extern long lseek();
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Parts of the output file.
|
* Parts of the output file.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -13,8 +13,6 @@
|
||||||
|
|
||||||
#include "obj.h"
|
#include "obj.h"
|
||||||
|
|
||||||
extern long lseek();
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Parts of the output file.
|
* Parts of the output file.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -41,12 +41,10 @@ struct ranlib *tab;
|
||||||
unsigned int tnum = 0;
|
unsigned int tnum = 0;
|
||||||
char *tstrtab;
|
char *tstrtab;
|
||||||
unsigned int tssiz = 0;
|
unsigned int tssiz = 0;
|
||||||
long time();
|
|
||||||
unsigned int tabsz, strtabsz;
|
unsigned int tabsz, strtabsz;
|
||||||
#else
|
#else
|
||||||
#define MAGIC_NUMBER ARMAG
|
#define MAGIC_NUMBER ARMAG
|
||||||
#endif
|
#endif
|
||||||
long lseek();
|
|
||||||
|
|
||||||
#define odd(nr) (nr & 01)
|
#define odd(nr) (nr & 01)
|
||||||
#define even(nr) (odd(nr) ? nr + 1 : nr)
|
#define even(nr) (odd(nr) ? nr + 1 : nr)
|
||||||
|
|
Loading…
Reference in a new issue