ports/misc/display/files/patch-aa
Ying-Chieh Liao 5373fef5c7 upgrade to 1.2
PR:		36025
Submitted by:	Ports Fury
2002-03-18 03:42:55 +00:00

38 lines
656 B
Text

--- display.c.orig Mon Mar 26 10:03:42 2001
+++ display.c Fri Mar 8 01:15:54 2002
@@ -12,6 +12,7 @@
#include <signal.h>
#include <ctype.h>
#include <time.h>
+#include <stdio.h>
#define DEFAULT_DELAY 5
#define DISPLAY_VERSION "1.2"
@@ -19,6 +20,8 @@
static char *Command;
static int Delay;
+static void die(), display(), parse_args(), usage();
+
char lt[128];
int ntimes;
@@ -27,9 +30,6 @@
char *argv[];
{
int i, c;
- extern void parse_args(),
- die(),
- display();
for(i = 0; i < 128; i++)
{
@@ -90,7 +90,7 @@
void display()
{
- FILE *fp, *popen();
+ FILE *fp;
char ch;
char *dt;
time_t tnow;