more void main

This commit is contained in:
dholland 2011-09-04 01:42:24 +00:00
parent 53aa6ec077
commit 370da63e21
2 changed files with 17 additions and 1 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.8 2011/08/28 22:55:48 dholland Exp $
$NetBSD: distinfo,v 1.9 2011/09/04 01:42:24 dholland Exp $
SHA1 (gramofile-1.6.tar.gz) = 6e5365d9e04801725be694fefcff5fc10ea2f912
RMD160 (gramofile-1.6.tar.gz) = 3f7c8a8e8053e92ece830bbb1138fc7ed1c49967
@ -6,4 +6,5 @@ Size (gramofile-1.6.tar.gz) = 108596 bytes
SHA1 (patch-aa) = be9de0d0c8699328610c707c57edf26b9bf28863
SHA1 (patch-ab) = 504cdb14c7ab11179e6cddfc32179a7a3528a67a
SHA1 (patch-ac) = 38094ec6a4e1e90e3d03eef5ce3f6fdb8d0621bb
SHA1 (patch-bplaysrc_bplay_c) = 59f0db9a664245c2d21e791c2910854f5c9ecdce
SHA1 (patch-gramofile_c) = 8c73c1db912894bc6f7cfc3fa191f1521e5d5b8d

View file

@ -0,0 +1,15 @@
$NetBSD: patch-bplaysrc_bplay_c,v 1.1 2011/09/04 01:42:25 dholland Exp $
- fix void main
--- bplaysrc/bplay.c~ 2000-03-27 21:42:02.000000000 +0000
+++ bplaysrc/bplay.c
@@ -91,7 +91,7 @@ extern void initsems(int disks, int snds
extern void cleanupsems(void);
-void main(int argc, char *argv[])
+int main(int argc, char *argv[])
{
int recorder = 0; /* 1 if recording, 0 else */