[FFmpeg-cvslog] r11079 - in trunk: libavcodec/cabac.c libavcodec/eval.c libavcodec/h264.c libavcodec/rangecoder.c libavcodec/snow.c libavutil/adler32.c libavutil/aes.c libavutil/crc.c libavutil/integer.c libavutil/lls.c libavutil/mathematics.c libavutil/md5.c libavutil/sha1.c libavutil/softfloat.c libavutil/tree.c

diego subversion
Fri Nov 23 01:52:57 CET 2007


Author: diego
Date: Fri Nov 23 01:52:56 2007
New Revision: 11079

Log:
main() --> main(void)


Modified:
   trunk/libavcodec/cabac.c
   trunk/libavcodec/eval.c
   trunk/libavcodec/h264.c
   trunk/libavcodec/rangecoder.c
   trunk/libavcodec/snow.c
   trunk/libavutil/adler32.c
   trunk/libavutil/aes.c
   trunk/libavutil/crc.c
   trunk/libavutil/integer.c
   trunk/libavutil/lls.c
   trunk/libavutil/mathematics.c
   trunk/libavutil/md5.c
   trunk/libavutil/sha1.c
   trunk/libavutil/softfloat.c
   trunk/libavutil/tree.c

Modified: trunk/libavcodec/cabac.c
==============================================================================
--- trunk/libavcodec/cabac.c	(original)
+++ trunk/libavcodec/cabac.c	Fri Nov 23 01:52:56 2007
@@ -184,7 +184,7 @@ void ff_init_cabac_states(CABACContext *
 
 #include "avcodec.h"
 
-int main(){
+int main(void){
     CABACContext c;
     uint8_t b[9*SIZE];
     uint8_t r[9*SIZE];

Modified: trunk/libavcodec/eval.c
==============================================================================
--- trunk/libavcodec/eval.c	(original)
+++ trunk/libavcodec/eval.c	Fri Nov 23 01:52:56 2007
@@ -451,7 +451,7 @@ static const char *const_names[]={
     "E",
     0
 };
-main(){
+main(void){
     int i;
     printf("%f == 12.7\n", ff_eval("1+(5-2)^(3-1)+1/2+sin(PI)-max(-2.2,-3.1)", const_values, const_names, NULL, NULL, NULL, NULL, NULL));
     printf("%f == 0.931322575\n", ff_eval("80G/80Gi", const_values, const_names, NULL, NULL, NULL, NULL, NULL));

Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c	(original)
+++ trunk/libavcodec/h264.c	Fri Nov 23 01:52:56 2007
@@ -7879,7 +7879,7 @@ static inline void fill_mb_avail(H264Con
 #undef random
 #define COUNT 8000
 #define SIZE (COUNT*40)
-int main(){
+int main(void){
     int i;
     uint8_t temp[SIZE];
     PutBitContext pb;

Modified: trunk/libavcodec/rangecoder.c
==============================================================================
--- trunk/libavcodec/rangecoder.c	(original)
+++ trunk/libavcodec/rangecoder.c	Fri Nov 23 01:52:56 2007
@@ -111,7 +111,7 @@ int ff_rac_terminate(RangeCoder *c){
 
 #if 0 //selftest
 #define SIZE 10240
-int main(){
+int main(void){
     RangeCoder c;
     uint8_t b[9*SIZE];
     uint8_t r[9*SIZE];

Modified: trunk/libavcodec/snow.c
==============================================================================
--- trunk/libavcodec/snow.c	(original)
+++ trunk/libavcodec/snow.c	Fri Nov 23 01:52:56 2007
@@ -4755,7 +4755,7 @@ AVCodec snow_encoder = {
 #undef printf
 #undef random
 
-int main(){
+int main(void){
     int width=256;
     int height=256;
     int buffer[2][width*height];

Modified: trunk/libavutil/adler32.c
==============================================================================
--- trunk/libavutil/adler32.c	(original)
+++ trunk/libavutil/adler32.c	Fri Nov 23 01:52:56 2007
@@ -54,7 +54,7 @@ unsigned long av_adler32_update(unsigned
 #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;

Modified: trunk/libavutil/aes.c
==============================================================================
--- trunk/libavutil/aes.c	(original)
+++ trunk/libavutil/aes.c	Fri Nov 23 01:52:56 2007
@@ -194,7 +194,7 @@ int av_aes_init(AVAES *a, const uint8_t 
 #ifdef TEST
 #include "log.h"
 
-int main(){
+int main(void){
     int i,j;
     AVAES ae, ad, b;
     uint8_t rkey[2][16]= {

Modified: trunk/libavutil/crc.c
==============================================================================
--- trunk/libavutil/crc.c	(original)
+++ trunk/libavutil/crc.c	Fri Nov 23 01:52:56 2007
@@ -107,7 +107,7 @@ uint32_t av_crc(const AVCRC *ctx, uint32
 
 #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},

Modified: trunk/libavutil/integer.c
==============================================================================
--- trunk/libavutil/integer.c	(original)
+++ trunk/libavutil/integer.c	Fri Nov 23 01:52:56 2007
@@ -171,7 +171,7 @@ const uint8_t ff_log2_tab[256]={
         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){

Modified: trunk/libavutil/lls.c
==============================================================================
--- trunk/libavutil/lls.c	(original)
+++ trunk/libavutil/lls.c	Fri Nov 23 01:52:56 2007
@@ -113,7 +113,7 @@ double av_evaluate_lls(LLSModel *m, doub
 #include <stdlib.h>
 #include <stdio.h>
 
-int main(){
+int main(void){
     LLSModel m;
     int i, order;
 

Modified: trunk/libavutil/mathematics.c
==============================================================================
--- trunk/libavutil/mathematics.c	(original)
+++ trunk/libavutil/mathematics.c	Fri Nov 23 01:52:56 2007
@@ -113,7 +113,7 @@ int64_t av_rescale_q(int64_t a, AVRation
 #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){

Modified: trunk/libavutil/md5.c
==============================================================================
--- trunk/libavutil/md5.c	(original)
+++ trunk/libavutil/md5.c	Fri Nov 23 01:52:56 2007
@@ -164,7 +164,7 @@ void av_md5_sum(uint8_t *dst, const uint
 #ifdef TEST
 #include <stdio.h>
 #undef printf
-main(){
+main(void){
     uint64_t md5val;
     int i;
     uint8_t in[1000];

Modified: trunk/libavutil/sha1.c
==============================================================================
--- trunk/libavutil/sha1.c	(original)
+++ trunk/libavutil/sha1.c	Fri Nov 23 01:52:56 2007
@@ -149,7 +149,7 @@ void av_sha1_final(AVSHA1* ctx, uint8_t 
 #include <stdio.h>
 #undef printf
 
-int main(){
+int main(void){
     int i, k;
     AVSHA1 ctx;
     unsigned char digest[20];

Modified: trunk/libavutil/softfloat.c
==============================================================================
--- trunk/libavutil/softfloat.c	(original)
+++ trunk/libavutil/softfloat.c	Fri Nov 23 01:52:56 2007
@@ -27,7 +27,7 @@
 
 #undef printf
 
-int main(){
+int main(void){
     SoftFloat one= av_int2sf(1, 0);
     SoftFloat sf1, sf2;
     double d1, d2;

Modified: trunk/libavutil/tree.c
==============================================================================
--- trunk/libavutil/tree.c	(original)
+++ trunk/libavutil/tree.c	Fri Nov 23 01:52:56 2007
@@ -132,7 +132,7 @@ int cmp(const void *a, const void *b){
     return a-b;
 }
 
-int main(){
+int main(void){
     int i,j,k;
     AVTreeNode *root= NULL;
 




More information about the ffmpeg-cvslog mailing list