1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-22 21:43:02 +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:
iphydf 2020-04-23 00:22:18 +00:00
parent e7142e49fd
commit b270c1e8b7
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,8 @@
--- ---
language: python language: python
python: nightly python: nightly
dist: xenial
os: linux
addons: addons:
apt: apt:

View File

@ -102,8 +102,8 @@ uint32_t primary_video_device[2]; /* Primary device */
static ToxAV *av = NULL; static ToxAV *av = NULL;
/* q_mutex */ /* q_mutex */
#define lock pthread_mutex_lock(&video_mutex); #define lock pthread_mutex_lock(&video_mutex)
#define unlock pthread_mutex_unlock(&video_mutex); #define unlock pthread_mutex_unlock(&video_mutex)
pthread_mutex_t video_mutex; pthread_mutex_t video_mutex;
bool video_thread_running = true, bool video_thread_running = true,