summaryrefslogtreecommitdiffstats
path: root/src/H5Tbit.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2004-03-22 14:20:38 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2004-03-22 14:20:38 (GMT)
commit3c9420c967db91e486a85b7167696d37ce54d0d0 (patch)
tree213b692d744e4ead14c3f9f3a905d47e9b4d2012 /src/H5Tbit.c
parent9e3178fedfab5caa9eed7395ac2d2a9b9a8a7130 (diff)
downloadhdf5-3c9420c967db91e486a85b7167696d37ce54d0d0.zip
hdf5-3c9420c967db91e486a85b7167696d37ce54d0d0.tar.gz
hdf5-3c9420c967db91e486a85b7167696d37ce54d0d0.tar.bz2
[svn-r8270] Purpose: code cleanup
Description: took out function of older algorithm(H5T_bit_neg2). Platforms tested: fuss
Diffstat (limited to 'src/H5Tbit.c')
-rw-r--r--src/H5Tbit.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/H5Tbit.c b/src/H5Tbit.c
index b2908b1..c9b2b4c 100644
--- a/src/H5Tbit.c
+++ b/src/H5Tbit.c
@@ -629,39 +629,6 @@ done:
/*-------------------------------------------------------------------------
- * Function: H5T_bit_neg2
- *
- * Purpose: Bit-negate buffer.
- * At this moment, START is always 0 and SIZE is always a
- * multiply of 8 (in bit).
- *
- * Return: void
- *
- * Programmer: Raymond Lu
- * Wednesday, Jan 28, 2004
- *
- * Modifications:
- *
- * Need to generalize it to handle rand START and SIZE like
- * H5T_bit_inc.
- *
- *-------------------------------------------------------------------------
- */
-void
-H5T_bit_neg2(uint8_t *buf, size_t start, size_t size)
-{
- size_t i;
-
- assert(buf);
- assert(size);
- assert(start==0);
-
- for(i=0; i<size/8; i++)
- buf[i] = ~(buf[i]);
-}
-
-
-/*-------------------------------------------------------------------------
* Function: H5T_bit_neg
*
* Purpose: negate part of a bit sequence. The bit