diff options
Diffstat (limited to 'libpod/lock/shm_lock.h')
-rw-r--r-- | libpod/lock/shm_lock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpod/lock/shm_lock.h b/libpod/lock/shm_lock.h index 6988789dd..18bea47e9 100644 --- a/libpod/lock/shm_lock.h +++ b/libpod/lock/shm_lock.h @@ -32,8 +32,8 @@ typedef struct shm_struct { } shm_struct_t; size_t compute_shm_size(uint32_t num_bitmaps); -shm_struct_t *setup_lock_shm(uint32_t num_locks); -shm_struct_t *open_lock_shm(uint32_t num_locks); +shm_struct_t *setup_lock_shm(uint32_t num_locks, int *error_code); +shm_struct_t *open_lock_shm(uint32_t num_locks, int *error_code); int32_t close_lock_shm(shm_struct_t *shm); int64_t allocate_semaphore(shm_struct_t *shm); int32_t deallocate_semaphore(shm_struct_t *shm, uint32_t sem_index); |