void main

This commit is contained in:
dholland 2011-08-28 20:31:13 +00:00
parent d999c27f75
commit feadd09ddc
3 changed files with 32 additions and 4 deletions

View file

@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.3 2005/02/23 14:45:24 agc Exp $
$NetBSD: distinfo,v 1.4 2011/08/28 20:31:13 dholland Exp $
SHA1 (mscompress-0.3.tar.bz2) = 76fd76b08ca62b20cf4aacef78e5030a4b08c285
RMD160 (mscompress-0.3.tar.bz2) = 15fed6fb4158e6f1a1284f97f0c4d7b4fc0fe4e4
Size (mscompress-0.3.tar.bz2) = 40989 bytes
SHA1 (patch-aa) = 0ea60f32b2d4479f006a9de15648d8875c31075e
SHA1 (patch-aa) = 6a6d7c29a8d07d2d85716fea3ad03b4eb07d72db
SHA1 (patch-msexpand_c) = 39a449e07acc1306098d89d042d4f7d96299a36f

View file

@ -1,6 +1,9 @@
$NetBSD: patch-aa,v 1.1 2004/01/15 22:26:08 ben Exp $
$NetBSD: patch-aa,v 1.2 2011/08/28 20:31:13 dholland Exp $
--- mscompress.c.orig 2000-04-15 06:15:38.000000000 -0700
- work properly on sparc64
- fix void main
--- mscompress.c.orig 2000-04-15 13:15:38.000000000 +0000
+++ mscompress.c
@@ -156,10 +156,10 @@ compress (int in, char *inname, int out,
int ch, i, run, len, match, size, mask;
@ -16,3 +19,12 @@ $NetBSD: patch-aa,v 1.1 2004/01/15 22:26:08 ben Exp $
/* 28.5 kB */
buffer = malloc (N + F + (N + 1 + N + N + 256) * sizeof (int));
@@ -306,7 +306,7 @@ usage (char *progname)
exit (0);
}
-void
+int
main (int argc, char **argv)
{
int in, out;

View file

@ -0,0 +1,15 @@
$NetBSD: patch-msexpand_c,v 1.1 2011/08/28 20:31:13 dholland Exp $
- fix void main
--- msexpand.c.orig 2000-04-15 13:15:45.000000000 +0000
+++ msexpand.c
@@ -215,7 +215,7 @@ usage (char *progname)
exit (0);
}
-void
+int
main (int argc, char **argv)
{
int in, out;