diff options
author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-11-25 12:06:46 +0100 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-11-25 12:06:46 +0100 |
commit | e1d29dc6c7039a78a9b2bc3506c2ef8abe48525b (patch) | |
tree | de1c5c642f37797088867499fd3b53642dd32e82 /src/lib/shm_rbuff.c | |
parent | 1475be46f1a2eba8d14b434a0a4bdddd9295f6f4 (diff) | |
download | ouroboros-e1d29dc6c7039a78a9b2bc3506c2ef8abe48525b.tar.gz ouroboros-e1d29dc6c7039a78a9b2bc3506c2ef8abe48525b.zip |
lib: Deprecate shm_rbuff_reset
Diffstat (limited to 'src/lib/shm_rbuff.c')
-rw-r--r-- | src/lib/shm_rbuff.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/lib/shm_rbuff.c b/src/lib/shm_rbuff.c index c0901ab1..1e97364c 100644 --- a/src/lib/shm_rbuff.c +++ b/src/lib/shm_rbuff.c @@ -418,13 +418,3 @@ void shm_rbuff_fini(struct shm_rbuff * rb) #endif pthread_cleanup_pop(true); } - -void shm_rbuff_reset(struct shm_rbuff * rb) -{ - assert(rb); - - pthread_mutex_lock(rb->lock); - *rb->tail = 0; - *rb->head = 0; - pthread_mutex_unlock(rb->lock); -} |