summaryrefslogtreecommitdiffstats
path: root/src/H5detect.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2004-05-20 23:04:26 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2004-05-20 23:04:26 (GMT)
commitb195382de727e375ed47db71bdb363c750732360 (patch)
tree09bd3c892fa4beb50a311611082e3c87cefe6658 /src/H5detect.c
parentf53197332daabf4bb498971498c541da40a663f8 (diff)
downloadhdf5-b195382de727e375ed47db71bdb363c750732360.zip
hdf5-b195382de727e375ed47db71bdb363c750732360.tar.gz
hdf5-b195382de727e375ed47db71bdb363c750732360.tar.bz2
[svn-r8557] Purpose:
Code cleanup Description: Changed local variables declaration to static to please compilers. Platforms tested: Tested by generating H5Tinit.c and verified it was same as before. Tested in TG_NCSA.
Diffstat (limited to 'src/H5detect.c')
-rw-r--r--src/H5detect.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5detect.c b/src/H5detect.c
index 384953b..099163c 100644
--- a/src/H5detect.c
+++ b/src/H5detect.c
@@ -83,9 +83,9 @@ typedef struct malign_t {
} malign_t;
/* global variables types detection code */
-detected_t d[MAXDETECT];
-malign_t m[MAXDETECT];
-volatile int nd = 0, na = 0;
+static detected_t d[MAXDETECT];
+static malign_t m[MAXDETECT];
+static volatile int nd = 0, na = 0;
static void print_results(int nd, detected_t *d, int na, malign_t *m);
static void iprint(detected_t *);