Mercurial > libavutil.hg
changeset 530:f8a5cb24c164 libavutil
Move #includes, which are only used in the test program, below the #ifdef
surrounding the test program to save an #ifdef at the top of the file.
author | diego |
---|---|
date | Sun, 27 Jul 2008 21:05:12 +0000 |
parents | 98f03aca378b |
children | eb47924a8b25 |
files | random.c |
diffstat | 1 files changed, 2 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/random.c Sun Jul 27 20:53:30 2008 +0000 +++ b/random.c Sun Jul 27 21:05:12 2008 +0000 @@ -28,11 +28,6 @@ #include <stdio.h> #include "random.h" -#ifdef TEST -#include "common.h" -#include "log.h" -#endif - /* Period parameters */ #define M 397 @@ -80,6 +75,8 @@ } #ifdef TEST +#include "common.h" +#include "log.h" void main(void) { int x=0;