diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2010-05-14 21:53:41 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2010-05-14 21:53:41 (GMT) |
commit | 5c2734ec514de41c773de7b22027eeff8fd2dace (patch) | |
tree | bb70b56006ef3f71fbdd37312535205e1b3d1265 /tools/lib/h5tools.c | |
parent | fdd92eb3b877cb3766efa231a4d0b9afdb3d27ee (diff) | |
download | hdf5-5c2734ec514de41c773de7b22027eeff8fd2dace.zip hdf5-5c2734ec514de41c773de7b22027eeff8fd2dace.tar.gz hdf5-5c2734ec514de41c773de7b22027eeff8fd2dace.tar.bz2 |
[svn-r18815] Move progname and d_status functions from h5tools to h5tools_util
Tested:
linux and windows
Diffstat (limited to 'tools/lib/h5tools.c')
-rw-r--r-- | tools/lib/h5tools.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c index ff0437c..cce7d47 100644 --- a/tools/lib/h5tools.c +++ b/tools/lib/h5tools.c @@ -42,8 +42,6 @@ FILE *rawdatastream; /* should initialize to stdout but gcc moans about it int bin_output; /* binary output */ int bin_form; /* binary form */ int region_output; /* region output */ -static int h5tools_d_status = 0; -static const char *h5tools_progname = "h5tools"; #ifdef H5_HAVE_H5DUMP_PACKED_BITS int packed_bits_num; /* number of packed bits to display */ int packed_normalize; /* number of bits to shift right to display normalized */ @@ -290,34 +288,6 @@ enum { /*------------------------------------------------------------------------- * Audience: Public * Chapter: H5Tools Library - * Purpose: Initialize the name and operation status of the H5 Tools library - * Description: - * These are utility functions to set/get the program name and operation status. - *------------------------------------------------------------------------- - */ -void h5tools_setprogname(const char *Progname) -{ - h5tools_progname = Progname; -} - -void h5tools_setstatus(int D_status) -{ - h5tools_d_status = D_status; -} - -const char*h5tools_getprogname() -{ - return h5tools_progname; -} - -int h5tools_getstatus() -{ - return h5tools_d_status; -} - -/*------------------------------------------------------------------------- - * Audience: Public - * Chapter: H5Tools Library * Purpose: Initialize the H5 Tools library * Description: * This should be called before any other h5tools function is called. |