bitset: Rename bitset_stream_on/off as bitset_enable/disable_stream

This commit is contained in:
nick
2013-09-23 17:10:14 +01:00
parent 5c1b119f83
commit 78fc65c515
3 changed files with 17 additions and 17 deletions

View File

@@ -289,7 +289,7 @@ static inline uint64_t bitset_stream_queued_bytes(
return total;
}
static inline void bitset_stream_on( struct bitset * set )
static inline void bitset_enable_stream( struct bitset * set )
{
BITSET_LOCK;
set->stream_enabled = 1;
@@ -297,7 +297,7 @@ static inline void bitset_stream_on( struct bitset * set )
BITSET_UNLOCK;
}
static inline void bitset_stream_off( struct bitset * set )
static inline void bitset_disable_stream( struct bitset * set )
{
BITSET_LOCK;
bitset_stream_enqueue( set, BITSET_STREAM_OFF, 0, set->size );