summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/H5Tbit.c33
-rw-r--r--src/H5Tpkg.h1
2 files changed, 0 insertions, 34 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
diff --git a/src/H5Tpkg.h b/src/H5Tpkg.h
index 3f8e10d..70a4f56 100644
--- a/src/H5Tpkg.h
+++ b/src/H5Tpkg.h
@@ -1081,7 +1081,6 @@ H5_DLL ssize_t H5T_bit_find(uint8_t *buf, size_t offset, size_t size,
H5_DLL htri_t H5T_bit_inc(uint8_t *buf, size_t start, size_t size);
H5_DLL htri_t H5T_bit_dec(uint8_t *buf, size_t start, size_t size);
H5_DLL void H5T_bit_neg(uint8_t *buf, size_t start, size_t size);
-H5_DLL void H5T_bit_neg2(uint8_t *buf, size_t start, size_t size);
/* VL functions */
H5_DLL H5T_t * H5T_vlen_create(const H5T_t *base);