summaryrefslogtreecommitdiff
path: root/devel/dev86/patches/patch-unproto_tok__class.c
blob: 0a71ea51f974a4f87ffd02c779cc702c6a502d80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-unproto_tok__class.c,v 1.1 2015/06/25 07:27:32 dholland Exp $

Use standard headers.

--- unproto/tok_class.c~	2014-03-14 04:33:19.000000000 +0000
+++ unproto/tok_class.c
@@ -49,10 +49,8 @@ static char class_sccsid[] = "@(#) tok_c
 /* C library */
 
 #include <stdio.h>
-
-extern char *strcpy();
-extern long time();
-extern char *ctime();
+#include <string.h>
+#include <time.h>
 
 /* Application-specific stuff */