pkgsrc/devel/libtai/patches/patch-yearcal_c
dholland 4c2380f814 Fix void main, which clang won't accept. While here, fix an LP64 issue
caught by gcc (malloc without stdlib.h) so bump PKGREVISION.
2011-08-01 05:37:12 +00:00

15 lines
277 B
Text

$NetBSD: patch-yearcal_c,v 1.1 2011/08/01 05:37:12 dholland Exp $
Fix illegal C.
--- yearcal.c~ 1998-10-13 16:52:20.000000000 +0000
+++ yearcal.c
@@ -16,7 +16,7 @@ char *montab[] = {
, "December"
} ;
-void main(argc,argv)
+int main(argc,argv)
int argc;
char **argv;
{