From f49ecd84813ddbdde2fec8a1353ac5384c2ca87d Mon Sep 17 00:00:00 2001 From: Mcat12 Date: Tue, 21 May 2019 17:32:42 -0700 Subject: [PATCH] Remove extra semicolon from lock_shm and unlock_shm Signed-off-by: Mcat12 --- shmem.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shmem.h b/shmem.h index 15646328..d38a9e08 100644 --- a/shmem.h +++ b/shmem.h @@ -43,11 +43,11 @@ bool realloc_shm(SharedMemory *sharedMemory, const size_t size, const bool resiz void delete_shm(SharedMemory *sharedMemory); /// Block until a lock can be obtained -#define lock_shm() _lock_shm(__FUNCTION__, __LINE__, __FILE__); +#define lock_shm() _lock_shm(__FUNCTION__, __LINE__, __FILE__) void _lock_shm(const char* func, const int line, const char* file); /// Unlock the lock. Only call this if there is an active lock. -#define unlock_shm() _unlock_shm(__FUNCTION__, __LINE__, __FILE__); +#define unlock_shm() _unlock_shm(__FUNCTION__, __LINE__, __FILE__) void _unlock_shm(const char* func, const int line, const char* file); #endif //SHARED_MEMORY_SERVER_H