summaryrefslogtreecommitdiffstats
path: root/src/H5detect.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2004-05-20 23:04:55 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2004-05-20 23:04:55 (GMT)
commitbccad78144f7023bb967b3042190a2462a1c671a (patch)
tree16cd8616ba5b030cc81f38ef37bff196c203c57e /src/H5detect.c
parentf448609e49e430abc5092e2f1773830dc45ea89d (diff)
downloadhdf5-bccad78144f7023bb967b3042190a2462a1c671a.zip
hdf5-bccad78144f7023bb967b3042190a2462a1c671a.tar.gz
hdf5-bccad78144f7023bb967b3042190a2462a1c671a.tar.bz2
[svn-r8558] 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 a363308..3a7078d 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 *);