diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2010-03-02 16:22:11 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2010-03-02 16:22:11 +0000 |
commit | 31da663e59cf44d71576164daa25fb3697b81455 (patch) | |
tree | 08f62ff0f1ca9f83b4206fd3ace05875e450d99e | |
parent | 1e70094155a23207b191e4f20e5b05f485fbf654 (diff) | |
download | compcert-31da663e59cf44d71576164daa25fb3697b81455.tar.gz compcert-31da663e59cf44d71576164daa25fb3697b81455.zip |
Protoized
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1267 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
-rw-r--r-- | test/c/perlin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/c/perlin.c b/test/c/perlin.c index 1559c1c9..6066f85e 100644 --- a/test/c/perlin.c +++ b/test/c/perlin.c @@ -55,13 +55,13 @@ static double noise(double x, double y, double z) { grad(p[BB+1], x-1, y-1, z-1 )))); } -static void init() { +static void init(void) { int i = 0; for (i=0; i < 256 ; i++) p[256+i] = p[i] = permutation[i]; } -int main() { +int main(int argc, char ** argv) { init(); double x, y, z, sum = 0.0; |