Kaynağa Gözat

Removed duplicate (and incorrect) system function declarations.

dtrg 18 yıl önce
ebeveyn
işleme
34ae7c4634

+ 0 - 1
mach/i386/cv/cv.c

@@ -100,7 +100,6 @@ int	output;
 
 char *program ;
 
-extern long lseek();
 #define TEXTSG	0
 #define ROMSG	1
 #define DATASG	2

+ 1 - 0
modules/src/object/obj.h

@@ -4,6 +4,7 @@
  * See the copyright notice in the ACK home directory, in the file "Copyright".
  */
 #include <local.h>
+#include <stdlib.h>
 #include <stdio.h>
 #include <out.h>
 #include <ranlib.h>

+ 0 - 2
modules/src/object/rd.c

@@ -5,8 +5,6 @@
  */
 #include "obj.h"
 
-extern long		lseek();
-
 /*
  * Parts of the output file.
  */

+ 0 - 2
modules/src/object/wr.c

@@ -13,8 +13,6 @@
 
 #include "obj.h"
 
-extern long		lseek();
-
 /*
  * Parts of the output file.
  */

+ 0 - 2
util/arch/archiver.c

@@ -41,12 +41,10 @@ struct ranlib *tab;
 unsigned int	tnum = 0;
 char	*tstrtab;
 unsigned int	tssiz = 0;
-long	time();
 unsigned int tabsz, strtabsz;
 #else
 #define MAGIC_NUMBER	ARMAG
 #endif
-long	lseek();
 
 #define odd(nr)		(nr & 01)
 #define even(nr)	(odd(nr) ? nr + 1 : nr)