diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-06-21 12:59:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-21 12:59:00 +0200 |
commit | c3b75b232800d2d9bee2e1975cd6e0d35509791c (patch) | |
tree | 82d14594b34691a380105db1de1a6f292f49f6f5 /libpod/lock/shm/shm_lock.h | |
parent | f446ccf0b050f5577328e5ba3efcdb5cafaae254 (diff) | |
parent | 4bfbc355de9d47b2b67e9b7c71ec6fb08fd5ab53 (diff) | |
download | podman-c3b75b232800d2d9bee2e1975cd6e0d35509791c.tar.gz podman-c3b75b232800d2d9bee2e1975cd6e0d35509791c.tar.bz2 podman-c3b75b232800d2d9bee2e1975cd6e0d35509791c.zip |
Merge pull request #3393 from openSUSE/werror
Build cgo files with -Wall and -Werror
Diffstat (limited to 'libpod/lock/shm/shm_lock.h')
-rw-r--r-- | libpod/lock/shm/shm_lock.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libpod/lock/shm/shm_lock.h b/libpod/lock/shm/shm_lock.h index 759f8178a..8796b43f4 100644 --- a/libpod/lock/shm/shm_lock.h +++ b/libpod/lock/shm/shm_lock.h @@ -32,9 +32,6 @@ typedef struct shm_struct { lock_group_t locks[]; } shm_struct_t; -static size_t compute_shm_size(uint32_t num_bitmaps); -static int take_mutex(pthread_mutex_t *mutex); -static int release_mutex(pthread_mutex_t *mutex); shm_struct_t *setup_lock_shm(char *path, uint32_t num_locks, int *error_code); shm_struct_t *open_lock_shm(char *path, uint32_t num_locks, int *error_code); int32_t close_lock_shm(shm_struct_t *shm); |