diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-07-07 15:44:16 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-07-07 15:44:16 +0200 |
commit | cc377e56c6fd25403fc7ccf5f83c82e3d85a767b (patch) | |
tree | 33604c48880d3a01d7053608584236dd15fc43e8 /include/ouroboros/shm_du_map.h | |
parent | 80441117cf61137c6a8c97e0779e70d76ae8541d (diff) | |
parent | b3870ef695a256be4a4ed28a991c39aab37bd6f3 (diff) | |
download | ouroboros-cc377e56c6fd25403fc7ccf5f83c82e3d85a767b.tar.gz ouroboros-cc377e56c6fd25403fc7ccf5f83c82e3d85a767b.zip |
Merged in dstaesse/ouroboros/be-lockfile (pull request #165)
lib: Add lockfile
Diffstat (limited to 'include/ouroboros/shm_du_map.h')
-rw-r--r-- | include/ouroboros/shm_du_map.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/ouroboros/shm_du_map.h b/include/ouroboros/shm_du_map.h index 59cd94a1..23c0c3aa 100644 --- a/include/ouroboros/shm_du_map.h +++ b/include/ouroboros/shm_du_map.h @@ -24,11 +24,9 @@ #ifndef OUROBOROS_SHM_DU_MAP_H #define OUROBOROS_SHM_DU_MAP_H -#include <errno.h> -#include <unistd.h> #include <stdint.h> -#include <sys/types.h> #include <pthread.h> +#include <sys/types.h> struct shm_du_buff; struct shm_du_map; @@ -38,7 +36,6 @@ struct shm_du_map * shm_du_map_open(); void shm_du_map_close(struct shm_du_map * dum); void shm_du_map_close_on_exit(struct shm_du_map * dum); void shm_du_map_destroy(struct shm_du_map * dum); -pid_t shm_du_map_owner(struct shm_du_map * dum); void * shm_du_map_sanitize(void * o); /* returns the index of the buffer in the DU map */ |