pkgsrc/time/xcal/patches/patch-ag

21 lines
486 B
Text

$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
*/