diff --git a/UnixBench/src/big.c b/UnixBench/src/big.c index 40aa87f..3e363c2 100644 --- a/UnixBench/src/big.c +++ b/UnixBench/src/big.c @@ -45,9 +45,6 @@ #define MAXCHILD 12 #define MAXWORK 10 -/* Can't seem to get this declared in the headers... */ -extern int kill(pid_t pid, int sig); - void wrapup(const char *); void onalarm(int); void pipeerr(); diff --git a/UnixBench/src/dhry_1.c b/UnixBench/src/dhry_1.c index 99c8469..673481f 100644 --- a/UnixBench/src/dhry_1.c +++ b/UnixBench/src/dhry_1.c @@ -74,15 +74,13 @@ Enumeration Func_1 (); /* variables for time measurement: */ #ifdef TIMES -struct tms time_info; -extern int times (); - /* see library function "times" */ +#include +#include #define Too_Small_Time 120 /* Measurements should last at least about 2 seconds */ #endif #ifdef TIME -extern long time(); - /* see library function "time" */ +#include #define Too_Small_Time 2 /* Measurements should last at least 2 seconds */ #endif diff --git a/UnixBench/src/fstime.c b/UnixBench/src/fstime.c index 37b369b..822c88e 100644 --- a/UnixBench/src/fstime.c +++ b/UnixBench/src/fstime.c @@ -51,8 +51,6 @@ char SCCSid[] = "@(#) @(#)fstime.c:3.5 -- 5/15/91 19:30:19"; #define FNAME0 "dummy0" #define FNAME1 "dummy1" -extern void sync(void); - int w_test(int timeSecs); int r_test(int timeSecs); int c_test(int timeSecs); @@ -318,7 +316,6 @@ int r_test(int timeSecs) unsigned long tmp; double start, end; extern int sigalarm; - extern int errno; /* Sync and let it settle */ sync(); diff --git a/UnixBench/src/time-polling.c b/UnixBench/src/time-polling.c index 574b76b..a861258 100644 --- a/UnixBench/src/time-polling.c +++ b/UnixBench/src/time-polling.c @@ -376,9 +376,6 @@ char *argv[]; struct poll2ofd poll2ofd_array[MAX_FDS]; long poll2_times[MAX_ITERATIONS]; #endif -#if 0 - extern char *sys_errlist[]; -#endif #ifdef HAS_SELECT FD_ZERO (&input_fds);