$NetBSD: patch-by,v 1.3 2021/12/27 04:59:56 dholland Exp $

- use standard headers
- don't declare own errno

--- lib-src/timer.c.orig	1995-02-17 07:47:36.000000000 +0000
+++ lib-src/timer.c
@@ -12,7 +12,10 @@
    esr@snark.thyrsus.com, Aug 7 1992.  */
 
 #include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
 #include <signal.h>
+#include <time.h>
 #include <errno.h>
 #include <sys/types.h>  /* time_t */
 
@@ -33,13 +36,6 @@
 #endif
 
 
-extern int errno;
-extern char *strerror ();
-#ifndef OSF1
-extern char *malloc ();
-#endif
-extern time_t time ();
-
 /*
  * The field separator for input.  This character shouldn't occur in dates,
  * and should be printable so event strings are readable by people.
@@ -82,7 +78,6 @@ schedule (str)
      char *str;
 {
   extern time_t get_date ();
-  extern char *strcpy ();
   time_t now;
   register char *p;
   static struct event *ep;
