summaryrefslogtreecommitdiff
path: root/lang/p2c/files/patch-makeproto.c
blob: 83553724a37405836366cd73e62f268a1cc607b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- makeproto.c.orig	1993-12-08 05:36:53 UTC
+++ makeproto.c
@@ -7,6 +7,7 @@
 
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <ctype.h>
 #include <time.h>
 
@@ -157,7 +158,7 @@ char **argv;
     char argdecls[MAXARGS][256], argnames[MAXARGS][80];
     char *cp, *cp2, *cp3;
     int i, j, pos, len, thistab, numstars, whichf, nargs, incomment, errors = 0;
-    long li;
+    time_t li;
     int typetab = 15, argtab = 30, width = 80, usenames = 0, usemacros = 0;
     int useextern = 0, staticness = -1, hasheader = 0, useifdefs = 0;
     int stupid = 1, firstdecl;