From 3a233b827783151c4c08985224782f1dcce43a8f Mon Sep 17 00:00:00 2001 From: Darren Salt Date: Sun, 8 Apr 2007 01:12:44 +0100 Subject: Mark various private arrays, structs & fn parameters as static and/or const. Two of the modified files are headers, but each contains definitions as well as declarations and is only ever used once. --- src/post/planar/noise.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/post/planar/noise.c') diff --git a/src/post/planar/noise.c b/src/post/planar/noise.c index 154d5f8cc..a5bf03039 100644 --- a/src/post/planar/noise.c +++ b/src/post/planar/noise.c @@ -62,7 +62,7 @@ typedef struct noise_param_t { static int nonTempRandShift[MAX_RES]= {-1}; -static int patt[4] = { +static const int patt[4] = { -1,0,1,0 }; -- cgit v1.2.3