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:25:39 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-07-15 11:25:39 +0200
commit1edb02101a9306fc711cd422ed507d18165b1691 (patch)
treebd2d48a139bfbe869f4f49359b63097931a45e7b /backend/snapscan-mutex.c
parent2ca8a81bd0d99fe4d75c229d0e988d8ef710285f (diff)
move from support/1.0.27 to feature/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;