All of lore.kernel.org
 help / color / mirror / Atom feed
* [pseudo][PATCH] pseudo_ipc.h: Fix enum typedef
@ 2020-05-03  4:27 Jacob Kroon
  2020-05-03  4:32 ` ✗ patchtest: failure for " Patchwork
  2020-05-03  5:28 ` [OE-core] [pseudo][PATCH] " Seebs
  0 siblings, 2 replies; 8+ messages in thread
From: Jacob Kroon @ 2020-05-03  4:27 UTC (permalink / raw)
  To: openembedded-core

'pseudo_access_t' is a type, so use typedef.

Fixes building pseudo with gcc 10 where -fno-common is the default.

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
---
 pseudo_ipc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pseudo_ipc.h b/pseudo_ipc.h
index caeae5c..d945257 100644
--- a/pseudo_ipc.h
+++ b/pseudo_ipc.h
@@ -29,7 +29,7 @@ typedef struct {
 	char path[];
 } pseudo_msg_t;
 
-enum {
+typedef enum {
 	PSA_EXEC = 1,
 	PSA_WRITE = (PSA_EXEC << 1),
 	PSA_READ = (PSA_WRITE << 1),
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-05-08 14:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-03  4:27 [pseudo][PATCH] pseudo_ipc.h: Fix enum typedef Jacob Kroon
2020-05-03  4:32 ` ✗ patchtest: failure for " Patchwork
2020-05-03  5:04   ` Jacob Kroon
2020-05-03  5:28 ` [OE-core] [pseudo][PATCH] " Seebs
2020-05-03 15:49   ` Jacob Kroon
2020-05-03 16:26     ` Seebs
2020-05-08  6:09       ` Jacob Kroon
2020-05-08 14:04         ` Seebs

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.