# HG changeset patch # User diego # Date 1217192712 0 # Node ID f8a5cb24c16475632e59bdd88e5e1e2981921353 # Parent 98f03aca378baea31896479ce84996e9929cbe50 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. diff -r 98f03aca378b -r f8a5cb24c164 random.c --- 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 #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;