aboutsummaryrefslogtreecommitdiff
path: root/src/bitvec.h
diff options
context:
space:
mode:
authorp37sitdu, corvid <devnull@localhost>2013-01-12 20:13:36 +0000
committerp37sitdu, corvid <devnull@localhost>2013-01-12 20:13:36 +0000
commit0f0e7cc54aecab1647bdcd222c84d17275b92313 (patch)
tree225d4a6128cd2ddbc1f762b0355c986f12c13730 /src/bitvec.h
parent69666a2dafc8a00e5029f4b671ed94d5be38e109 (diff)
clean up struct typedefs
Diffstat (limited to 'src/bitvec.h')
-rw-r--r--src/bitvec.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/bitvec.h b/src/bitvec.h
index f9063070..d2f6d9e1 100644
--- a/src/bitvec.h
+++ b/src/bitvec.h
@@ -6,12 +6,10 @@
#define BVEC_TYPE uchar_t
#define BVEC_SIZE sizeof(BVEC_TYPE)
-typedef struct _bitvec bitvec_t;
-
-struct _bitvec {
+typedef struct {
BVEC_TYPE *vec;
int len; /* number of bits [1 based] */
-};
+} bitvec_t;
/*