diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-07-28 01:10:32 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-07-28 01:10:32 +0400 |
commit | cf160899dd37156b3291189ec7d1b194c1f0842b (patch) | |
tree | b414259477cab0ce6e2cc5459ef312fe3d4126df /libavutil/random.c | |
parent | 00c6161d5a7ef1b3be683693ef21ef7b62cde4d9 (diff) |
Change return type of main function to int to avoid a warning.
Originally committed as revision 14440 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/random.c')
-rw-r--r-- | libavutil/random.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavutil/random.c b/libavutil/random.c index d85b82044c..0d31e8ad8b 100644 --- a/libavutil/random.c +++ b/libavutil/random.c @@ -77,7 +77,7 @@ void av_random_generate_untempered_numbers(AVRandomState *state) #ifdef TEST #include "common.h" #include "log.h" -void main(void) +int main(void) { int x=0; int i, j; @@ -92,5 +92,6 @@ void main(void) STOP_TIMER("624 calls of av_random"); } av_log(NULL, AV_LOG_ERROR, "final value:%X\n", x); + return 0; } #endif |