aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Kroon <jacob.kroon@gmail.com>2020-05-03 06:24:03 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-06-26 11:42:42 +0100
commita44361b8d3fbf5fc40cd87b599caeb380454efbe (patch)
treeeeb48a89d289e807b256329a16ca547fc1b93c5c
parentbdff3b0db6eaa30600a66671184ddce29ef16c7d (diff)
downloadpseudo-a44361b8d3fbf5fc40cd87b599caeb380454efbe.tar.gz
pseudo-a44361b8d3fbf5fc40cd87b599caeb380454efbe.tar.bz2
pseudo-a44361b8d3fbf5fc40cd87b599caeb380454efbe.zip
pseudo_ipc.h: Fix enum typedef
'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> Upstream-Status: Submitted [https://lists.openembedded.org/g/openembedded-core/message/137758] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--pseudo_ipc.h2
1 files changed, 1 insertions, 1 deletions
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),