mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
Remove extra semicolon from lock_shm and unlock_shm
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user