summaryrefslogtreecommitdiff
path: root/time/xcal/patches/patch-ag
blob: d6f7124e3525d0b39288d29b4266844acb4f5fac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ag,v 1.1 2006/10/24 11:51:55 dsainty Exp $

--- xcalev/xcalev.c.orig	2006-10-24 11:10:19.000000000 +1300
+++ xcalev/xcalev.c	2006-10-24 11:13:37.000000000 +1300
@@ -52,6 +52,7 @@
  
 ***/
 #include <stdio.h>
+#include <stdlib.h>
 #include <ctype.h>
 #include <string.h>
 #include <time.h>
@@ -88,8 +89,6 @@
 static char	*memerr = "No more memory\n";
 static char	*usage = "Usage: xcalev [-f srcfile] [-d dir][-x][-r] [year]\n";
 
-char	*malloc();
-
 /*
  *	routines
  */