summaryrefslogtreecommitdiff
path: root/src/lib/shm_ap_rbuff.c
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-08-09 16:14:33 +0200
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-08-09 16:14:33 +0200
commitf558d4404a9cb5b87ce3e239d8c0712bbaaba39a (patch)
tree8414f9e0d72910c4115bd9bce4e2cd4e0e52a465 /src/lib/shm_ap_rbuff.c
parentd7a3ac1eae57404630b39ad68b548910c88ed150 (diff)
parent9dce327e10bffddc9dc5058f06407e8ff12389b7 (diff)
downloadouroboros-f558d4404a9cb5b87ce3e239d8c0712bbaaba39a.tar.gz
ouroboros-f558d4404a9cb5b87ce3e239d8c0712bbaaba39a.zip
Merged in dstaesse/ouroboros/be-bugfixing (pull request #195)
lib: Various fixes
Diffstat (limited to 'src/lib/shm_ap_rbuff.c')
-rw-r--r--src/lib/shm_ap_rbuff.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/lib/shm_ap_rbuff.c b/src/lib/shm_ap_rbuff.c
index 62ef5cf1..1c7fd600 100644
--- a/src/lib/shm_ap_rbuff.c
+++ b/src/lib/shm_ap_rbuff.c
@@ -462,19 +462,6 @@ ssize_t shm_ap_rbuff_read_port_b(struct shm_ap_rbuff * rb,
return idx;
}
-pid_t shm_ap_rbuff_get_api(struct shm_ap_rbuff *rb)
-{
- pid_t api = -1;
- if (rb == NULL)
- return -1;
-
- pthread_mutex_lock(rb->lock);
- api = rb->api;
- pthread_mutex_unlock(rb->lock);
-
- return api;
-}
-
void shm_ap_rbuff_reset(struct shm_ap_rbuff * rb)
{
if (rb == NULL)