1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
--- display.c.orig Tue Nov 16 12:34:12 1999
+++ display.c Tue Nov 16 12:36:36 1999
@@ -8,7 +8,7 @@
#include <curses.h>
#include <signal.h>
#include <ctype.h>
-
+#include <stdio.h>
#define DEFAULT_DELAY 5
@@ -16,15 +16,13 @@
static char *Command;
static int Delay;
+static void die(), display(), parse_args(), usage();
main(argc, argv)
int argc;
char *argv[];
{
int i, c;
- extern void parse_args(),
- die(),
- display();
parse_args(argc, argv);
@@ -68,7 +66,7 @@
static void display()
{
- FILE *fp, *popen();
+ FILE *fp;
char ch;
if (!(fp = popen(Command, "r"))) {
|