From 34ae7c4634cfa064d8270350143e3a1b8ce4b023 Mon Sep 17 00:00:00 2001 From: dtrg Date: Fri, 21 Jul 2006 11:17:18 +0000 Subject: [PATCH] Removed duplicate (and incorrect) system function declarations. --- mach/i386/cv/cv.c | 1 - modules/src/object/obj.h | 1 + modules/src/object/rd.c | 2 -- modules/src/object/wr.c | 2 -- util/arch/archiver.c | 2 -- 5 files changed, 1 insertion(+), 7 deletions(-) diff --git a/mach/i386/cv/cv.c b/mach/i386/cv/cv.c index 7ad5b6d10..d5ff13eb0 100644 --- a/mach/i386/cv/cv.c +++ b/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 diff --git a/modules/src/object/obj.h b/modules/src/object/obj.h index 1c0294774..a725ed5bd 100644 --- a/modules/src/object/obj.h +++ b/modules/src/object/obj.h @@ -4,6 +4,7 @@ * See the copyright notice in the ACK home directory, in the file "Copyright". */ #include +#include #include #include #include diff --git a/modules/src/object/rd.c b/modules/src/object/rd.c index 2334b0589..55f67bb8d 100644 --- a/modules/src/object/rd.c +++ b/modules/src/object/rd.c @@ -5,8 +5,6 @@ */ #include "obj.h" -extern long lseek(); - /* * Parts of the output file. */ diff --git a/modules/src/object/wr.c b/modules/src/object/wr.c index 0dcefec4e..53267d0ee 100644 --- a/modules/src/object/wr.c +++ b/modules/src/object/wr.c @@ -13,8 +13,6 @@ #include "obj.h" -extern long lseek(); - /* * Parts of the output file. */ diff --git a/util/arch/archiver.c b/util/arch/archiver.c index b627556df..458c969b3 100644 --- a/util/arch/archiver.c +++ b/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)