summaryrefslogtreecommitdiffstats
path: root/src/H5Tbit.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2004-03-18 18:48:02 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2004-03-18 18:48:02 (GMT)
commite45e85190bf33ce8f49e4b919cab6fa60d4ff967 (patch)
tree572d6027dbebd2ee5d05aa06a2fdfa5d0b3040df /src/H5Tbit.c
parenta8ec063090e86e4419a036b742258475641fbb18 (diff)
downloadhdf5-e45e85190bf33ce8f49e4b919cab6fa60d4ff967.zip
hdf5-e45e85190bf33ce8f49e4b919cab6fa60d4ff967.tar.gz
hdf5-e45e85190bf33ce8f49e4b919cab6fa60d4ff967.tar.bz2
[svn-r8265] Purpose: Code cleanup
Description: Some printing commands left there for debugging. Solution: Took them out. Platforms tested: fuss(RH8). Simple change
Diffstat (limited to 'src/H5Tbit.c')
-rw-r--r--src/H5Tbit.c42
1 files changed, 0 insertions, 42 deletions
diff --git a/src/H5Tbit.c b/src/H5Tbit.c
index c986cfa..d5fbdcb 100644
--- a/src/H5Tbit.c
+++ b/src/H5Tbit.c
@@ -547,48 +547,6 @@ H5T_bit_inc(uint8_t *buf, size_t start, size_t size)
/*-------------------------------------------------------------------------
- * Function: H5T_bit_dec2
- *
- * Purpose: decrement part of a bit field by 1.
- * At this moment, START is always 0 and SIZE is a multiply
- * of 8(in bit). This is different from H5T_bit_inc.
- *
- * Return: void
- *
- *
- * Programmer: Raymond Lu
- * Wednesday, Jan 28, 2004
- *
- * Modifications:
- *
- * Need to generalize it to handle random START and SIZE like
- * H5T_bit_inc.
- *
- * Older algorithm. Take it out!!!
- *
- *-------------------------------------------------------------------------
- */
-void
-H5T_bit_dec2(uint8_t *buf, size_t start, size_t size)
-{
- size_t idx;
-
- assert(buf);
- assert(size);
- assert(start==0);
-
- for(idx=0; idx < size/8; idx++) {
- if(buf[idx] != 0x00) {
- buf[idx] -= 1;
- break;
- } else if(buf[idx]==0x00) {
- buf[idx] -= 1;
- }
- }
-}
-
-
-/*-------------------------------------------------------------------------
* Function: H5T_bit_dec
*
* Purpose: decrement part of a bit field by substracting 1. The bit