Remove extra semicolon from lock_shm and unlock_shm

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
This commit is contained in:
Mcat12
2019-05-21 17:32:42 -07:00
parent 0543f2c174
commit f49ecd8481
+2 -2
View File
@@ -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