summaryrefslogtreecommitdiff
path: root/gnu/lib/libg++/libg++/src/bitdo1.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/lib/libg++/libg++/src/bitdo1.h')
-rw-r--r--gnu/lib/libg++/libg++/src/bitdo1.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/gnu/lib/libg++/libg++/src/bitdo1.h b/gnu/lib/libg++/libg++/src/bitdo1.h
deleted file mode 100644
index c234d41d406..00000000000
--- a/gnu/lib/libg++/libg++/src/bitdo1.h
+++ /dev/null
@@ -1,32 +0,0 @@
-#ifndef ONES
-#define ONES ((_BS_word)(~0L))
-#endif
- register int nwords;
- register _BS_word mask;
- if (offset == 0)
- ;
- else if (offset + length >= _BS_BITS_PER_WORD)
- {
- mask = ONES _BS_RIGHT offset;
- DOIT(*ptr++, mask);
- length -= _BS_BITS_PER_WORD - offset;
- }
- else
- {
- mask = (ONES _BS_RIGHT (_BS_BITS_PER_WORD - length))
- _BS_LEFT (_BS_BITS_PER_WORD - length - offset);
- DOIT(*ptr, mask);
- goto done;
- }
- nwords = _BS_INDEX(length);
- while (--nwords >= 0)
- {
- DOIT(*ptr++, ONES);
- }
- length = _BS_POS (length);
- if (length)
- {
- mask = ONES _BS_LEFT (_BS_BITS_PER_WORD - length);
- DOIT(*ptr, mask);
- }
- done: ;