From 5a739574608e5190816b3efd22e75f214c5fe4c4 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Thu, 23 Jan 2020 19:07:05 +0100 Subject: [PATCH] common: fix BoltError to be a typedef It was always meant to be a typedef not a (tentative) definition of a global variable. --- common/bolt-error.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/bolt-error.h b/common/bolt-error.h index 569da46..0486964 100644 --- a/common/bolt-error.h +++ b/common/bolt-error.h @@ -36,7 +36,7 @@ G_BEGIN_DECLS * * Error codes used inside Bolt. */ -enum { +typedef enum { BOLT_ERROR_FAILED = 0, BOLT_ERROR_UDEV, BOLT_ERROR_NOKEY, -- 2.24.1