summaryrefslogtreecommitdiffstats
path: root/core/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/device.c')
-rw-r--r--core/device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/device.c b/core/device.c
index 125c349e1..22fb7f49a 100644
--- a/core/device.c
+++ b/core/device.c
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
+#include "ssrf.h"
#include <string.h>
#include "dive.h"
#include "subsurface-string.h"
@@ -192,7 +193,7 @@ static void match_id(void *_dc, const char *model, uint32_t deviceid,
const char *nickname, const char *serial, const char *firmware)
{
// here nickname is unused
- (void)nickname;
+ UNUSED(nickname);
struct divecomputer *dc = _dc;