summaryrefslogtreecommitdiff
path: root/backend/snapscan-mutex.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-05-24 21:03:56 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-05-24 21:03:56 +0200
commit58912f68c2489bcee787599837447e0d64dfd61a (patch)
treedda50aadde35fe152da1a8d50769987ace0f1496 /backend/snapscan-mutex.c
parentcfd27ef2ad8b005fd47ab41ef29b71d9e3d48201 (diff)
New upstream version 1.0.27upstream/1.0.27
Diffstat (limited to 'backend/snapscan-mutex.c')
-rw-r--r--backend/snapscan-mutex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/snapscan-mutex.c b/backend/snapscan-mutex.c
index 0321741..ad0538a 100644
--- a/backend/snapscan-mutex.c
+++ b/backend/snapscan-mutex.c
@@ -44,7 +44,7 @@
#include <OS.h>
#define snapscan_mutex_t sem_id
-static int snapscani_mutex_open(snapscan_mutex_t* a_sem, const char* dev UNUSEDARG)
+static int snapscani_mutex_open(snapscan_mutex_t* a_sem, const char* dev __sane_unused__)
{
*a_sem = create_sem(1, "snapscan_mutex");
return 1;
@@ -72,7 +72,7 @@ static void snapscani_mutex_unlock(snapscan_mutex_t* a_sem)
#include <pthread.h>
#define snapscan_mutex_t pthread_mutex_t
-static int snapscani_mutex_open(snapscan_mutex_t* sem_id, const char* dev UNUSEDARG)
+static int snapscani_mutex_open(snapscan_mutex_t* sem_id, const char* dev __sane_unused__)
{
pthread_mutex_init(sem_id, NULL);
return 1;