changeset 404:f9a4c04ebb0e libavutil

main() --> main(void)
author diego
date Fri, 23 Nov 2007 00:52:56 +0000
parents c22fbe7d64cf
children bc871e7ac0dc
files adler32.c aes.c crc.c integer.c lls.c mathematics.c md5.c sha1.c softfloat.c tree.c
diffstat 10 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/adler32.c	Mon Nov 19 10:40:11 2007 +0000
+++ b/adler32.c	Fri Nov 23 00:52:56 2007 +0000
@@ -54,7 +54,7 @@
 #include "log.h"
 #define LEN 7001
 volatile int checksum;
-int main(){
+int main(void){
     int i;
     char data[LEN];
     av_log_level = AV_LOG_DEBUG;
--- a/aes.c	Mon Nov 19 10:40:11 2007 +0000
+++ b/aes.c	Fri Nov 23 00:52:56 2007 +0000
@@ -194,7 +194,7 @@
 #ifdef TEST
 #include "log.h"
 
-int main(){
+int main(void){
     int i,j;
     AVAES ae, ad, b;
     uint8_t rkey[2][16]= {
--- a/crc.c	Mon Nov 19 10:40:11 2007 +0000
+++ b/crc.c	Fri Nov 23 00:52:56 2007 +0000
@@ -107,7 +107,7 @@
 
 #ifdef TEST
 #undef printf
-main(){
+main(void){
     uint8_t buf[1999];
     int i;
     int p[4][4]={{1, 32, AV_CRC_32_IEEE_LE, 0x3D5CDD04},
--- a/integer.c	Mon Nov 19 10:40:11 2007 +0000
+++ b/integer.c	Fri Nov 23 00:52:56 2007 +0000
@@ -171,7 +171,7 @@
         7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7
 };
 
-main(){
+main(void){
     int64_t a,b;
 
     for(a=7; a<256*256*256; a+=13215){
--- a/lls.c	Mon Nov 19 10:40:11 2007 +0000
+++ b/lls.c	Fri Nov 23 00:52:56 2007 +0000
@@ -113,7 +113,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 
-int main(){
+int main(void){
     LLSModel m;
     int i, order;
 
--- a/mathematics.c	Mon Nov 19 10:40:11 2007 +0000
+++ b/mathematics.c	Fri Nov 23 00:52:56 2007 +0000
@@ -113,7 +113,7 @@
 #if 0
 #include "integer.h"
 #undef printf
-main(){
+main(void){
     int64_t a,b,c,d,e;
 
     for(a=7; a<(1LL<<62); a+=a/3+1){
--- a/md5.c	Mon Nov 19 10:40:11 2007 +0000
+++ b/md5.c	Fri Nov 23 00:52:56 2007 +0000
@@ -164,7 +164,7 @@
 #ifdef TEST
 #include <stdio.h>
 #undef printf
-main(){
+main(void){
     uint64_t md5val;
     int i;
     uint8_t in[1000];
--- a/sha1.c	Mon Nov 19 10:40:11 2007 +0000
+++ b/sha1.c	Fri Nov 23 00:52:56 2007 +0000
@@ -149,7 +149,7 @@
 #include <stdio.h>
 #undef printf
 
-int main(){
+int main(void){
     int i, k;
     AVSHA1 ctx;
     unsigned char digest[20];
--- a/softfloat.c	Mon Nov 19 10:40:11 2007 +0000
+++ b/softfloat.c	Fri Nov 23 00:52:56 2007 +0000
@@ -27,7 +27,7 @@
 
 #undef printf
 
-int main(){
+int main(void){
     SoftFloat one= av_int2sf(1, 0);
     SoftFloat sf1, sf2;
     double d1, d2;
--- a/tree.c	Mon Nov 19 10:40:11 2007 +0000
+++ b/tree.c	Fri Nov 23 00:52:56 2007 +0000
@@ -132,7 +132,7 @@
     return a-b;
 }
 
-int main(){
+int main(void){
     int i,j,k;
     AVTreeNode *root= NULL;