File tree Expand file tree Collapse file tree 4 files changed +3
-14
lines changed Expand file tree Collapse file tree 4 files changed +3
-14
lines changed Original file line number Diff line number Diff line change 45
45
#define MAXCHILD 12
46
46
#define MAXWORK 10
47
47
48
- /* Can't seem to get this declared in the headers... */
49
- extern int kill (pid_t pid , int sig );
50
-
51
48
void wrapup (const char * );
52
49
void onalarm (int );
53
50
void pipeerr ();
Original file line number Diff line number Diff line change @@ -74,15 +74,13 @@ Enumeration Func_1 ();
74
74
/* variables for time measurement: */
75
75
76
76
#ifdef TIMES
77
- struct tms time_info ;
78
- extern int times ();
79
- /* see library function "times" */
77
+ #include <time.h>
78
+ #include <sys/times.h>
80
79
#define Too_Small_Time 120
81
80
/* Measurements should last at least about 2 seconds */
82
81
#endif
83
82
#ifdef TIME
84
- extern long time ();
85
- /* see library function "time" */
83
+ #include <time.h>
86
84
#define Too_Small_Time 2
87
85
/* Measurements should last at least 2 seconds */
88
86
#endif
Original file line number Diff line number Diff line change @@ -51,8 +51,6 @@ char SCCSid[] = "@(#) @(#)fstime.c:3.5 -- 5/15/91 19:30:19";
51
51
#define FNAME0 "dummy0"
52
52
#define FNAME1 "dummy1"
53
53
54
- extern void sync (void );
55
-
56
54
int w_test (int timeSecs );
57
55
int r_test (int timeSecs );
58
56
int c_test (int timeSecs );
@@ -318,7 +316,6 @@ int r_test(int timeSecs)
318
316
unsigned long tmp ;
319
317
double start , end ;
320
318
extern int sigalarm ;
321
- extern int errno ;
322
319
323
320
/* Sync and let it settle */
324
321
sync ();
Original file line number Diff line number Diff line change @@ -376,9 +376,6 @@ char *argv[];
376
376
struct poll2ofd poll2ofd_array [MAX_FDS ];
377
377
long poll2_times [MAX_ITERATIONS ];
378
378
#endif
379
- #if 0
380
- extern char * sys_errlist [];
381
- #endif
382
379
383
380
#ifdef HAS_SELECT
384
381
FD_ZERO (& input_fds );
You can’t perform that action at this time.
0 commit comments