[gnome-control-center] Thunderbolt: make BoltError enum a typedef
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] Thunderbolt: make BoltError enum a typedef
- Date: Thu, 9 Jan 2020 21:34:20 +0000 (UTC)
commit 901ef8b0ff2b05692cbaa119097f70615ea77ed4
Author: Mike Gorse <mgorse suse com>
Date: Thu Jan 9 21:34:12 2020 +0000
Thunderbolt: make BoltError enum a typedef
Fixes error when compiled with -fno-common
panels/thunderbolt/bolt-error.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/panels/thunderbolt/bolt-error.h b/panels/thunderbolt/bolt-error.h
index 39b3eee98..7d3823d35 100644
--- a/panels/thunderbolt/bolt-error.h
+++ b/panels/thunderbolt/bolt-error.h
@@ -31,7 +31,7 @@ G_BEGIN_DECLS
*
* Error codes used inside Bolt.
*/
-enum {
+typedef enum {
BOLT_ERROR_FAILED = 0,
BOLT_ERROR_UDEV,
BOLT_ERROR_NOKEY,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]