summaryrefslogtreecommitdiff
path: root/src/lib/shm_ap_rbuff.c
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2016-08-19 16:16:39 +0200
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2016-08-19 16:16:39 +0200
commitba27593e3e8406e109393ae383f17c7416675c1e (patch)
tree6807a23a6def167a2b9ab26937fe25bbcc2a8064 /src/lib/shm_ap_rbuff.c
parent0192488015770b4855165db8502214dad1941dd2 (diff)
parent2c8e29ca7a997c5aa9d34e3fa956b120a0bbf20c (diff)
downloadouroboros-ba27593e3e8406e109393ae383f17c7416675c1e.tar.gz
ouroboros-ba27593e3e8406e109393ae383f17c7416675c1e.zip
Merged in sandervrijders/ouroboros/be-enroll-failures (pull request #212)
ipcpd: normal: Handle enrollment replies
Diffstat (limited to 'src/lib/shm_ap_rbuff.c')
-rw-r--r--src/lib/shm_ap_rbuff.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/shm_ap_rbuff.c b/src/lib/shm_ap_rbuff.c
index 1c7fd600..4ca29636 100644
--- a/src/lib/shm_ap_rbuff.c
+++ b/src/lib/shm_ap_rbuff.c
@@ -40,8 +40,6 @@
#include <signal.h>
#include <sys/stat.h>
-#define PTHREAD_COND_CLOCK CLOCK_MONOTONIC
-
#define SHM_RBUFF_FILE_SIZE (SHM_BUFFER_SIZE * sizeof(struct rb_entry) \
+ 2 * sizeof(size_t) + sizeof(pthread_mutex_t) \
+ 2 * sizeof (pthread_cond_t))