ISO says that main shall not be void.

This commit is contained in:
joerg 2012-11-01 19:40:08 +00:00
parent 30da90e5bf
commit d0d95e8ab0
2 changed files with 9 additions and 5 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.8 2011/09/12 16:52:56 taca Exp $
$NetBSD: distinfo,v 1.9 2012/11/01 19:40:08 joerg Exp $
SHA1 (mpeg_encode-1.5b-src.tar.gz) = 853cd175f73b8064ce28deb256e4b81159a684ed
RMD160 (mpeg_encode-1.5b-src.tar.gz) = 24c0a1090076630c292936639c5fb275778f6470
@ -9,7 +9,7 @@ SHA1 (patch-ac) = 152c0bd7737a307d1aa89ae820e219300c124085
SHA1 (patch-ad) = 670a244680d09cb9f558a8777ec8f189145342f8
SHA1 (patch-ae) = 414b8c45c65892b9e161c285c5c0327103f8f474
SHA1 (patch-ag) = 8014bf6347a3c95d279f989c027fb2c90e33aa6e
SHA1 (patch-ah) = a266e0cde01bab10f83f7dba1996cefc700ea416
SHA1 (patch-ah) = 9620a042e0b571986e6ce6cb6f5f837b1109020f
SHA1 (patch-ai) = 209f802d46e84c30545629079e386374d110dbf5
SHA1 (patch-aj) = 56031b467679ce4e2ae6bcddbdb129cd8cead479
SHA1 (patch-ak) = f28929b16bb804c691565adbe3f4c1814154ced7

View file

@ -1,4 +1,4 @@
$NetBSD: patch-ah,v 1.2 2007/07/30 10:25:42 joerg Exp $
$NetBSD: patch-ah,v 1.3 2012/11/01 19:40:08 joerg Exp $
--- ../convert/eyuvtojpeg.c.orig 1995-04-14 21:16:52.000000000 +0000
+++ ../convert/eyuvtojpeg.c
@ -11,8 +11,12 @@ $NetBSD: patch-ah,v 1.2 2007/07/30 10:25:42 joerg Exp $
typedef unsigned char uint8;
@@ -46,8 +46,9 @@ void AllocYCC(void);
void main(int argc, char **argv)
@@ -43,11 +43,12 @@ void ReadYUV(FILE *fp);
void AllocYCC(void);
-void main(int argc, char **argv)
+int main(int argc, char **argv)
{
FILE *fpointer;
- char command[256];