summaryrefslogtreecommitdiff
path: root/backend/snapscan-mutex.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-07-15 11:29:05 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-07-15 11:29:05 +0200
commit324a8a71bb7d9e4f8bc49b6bc47efaf9fb58282e (patch)
treebd2d48a139bfbe869f4f49359b63097931a45e7b /backend/snapscan-mutex.c
parent2ca8a81bd0d99fe4d75c229d0e988d8ef710285f (diff)
parent1edb02101a9306fc711cd422ed507d18165b1691 (diff)
Merge branch 'release/experimental/1.0.27-1_experimental1'experimental/1.0.27-1_experimental1
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;