mirror of
https://github.com/Tha14/toxic.git
synced 2024-12-23 04:33:25 +01:00
Remove extra semicolon in lock/unlock macros.
lock/unlock are always expanded in a context followed by a semicolon.
This commit is contained in:
parent
e7142e49fd
commit
b270c1e8b7
@ -1,6 +1,8 @@
|
||||
---
|
||||
language: python
|
||||
python: nightly
|
||||
dist: xenial
|
||||
os: linux
|
||||
|
||||
addons:
|
||||
apt:
|
||||
|
@ -102,8 +102,8 @@ uint32_t primary_video_device[2]; /* Primary device */
|
||||
static ToxAV *av = NULL;
|
||||
|
||||
/* q_mutex */
|
||||
#define lock pthread_mutex_lock(&video_mutex);
|
||||
#define unlock pthread_mutex_unlock(&video_mutex);
|
||||
#define lock pthread_mutex_lock(&video_mutex)
|
||||
#define unlock pthread_mutex_unlock(&video_mutex)
|
||||
pthread_mutex_t video_mutex;
|
||||
|
||||
bool video_thread_running = true,
|
||||
|
Loading…
Reference in New Issue
Block a user