Some refactoring to remove duplicate code and other clean-ups
[platform/core/uifw/at-spi2-atk.git] / atk-adaptor / bitarray.h
index e93dbef..61ed673 100644 (file)
@@ -28,8 +28,5 @@
 
 #define BITARRAY_SEQ_TERM 0xffffffff
 
-#define BITARRAY_SET(p, n) ((p)[n/32] |= (1<<(n)))
-
-gint bitarray_to_seq(dbus_uint32_t *array, gint array_size, gint **out);
-dbus_uint32_t bitarray_from_seq(gint *seq, dbus_uint32_t **out);
+#define BITARRAY_SET(p, n) ((p)[n>>5] |= (1<<(n&31)))
 #endif /* _BITARRAY_H */