'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 <[email protected]> --- 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
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#137758): https://lists.openembedded.org/g/openembedded-core/message/137758 Mute This Topic: https://lists.openembedded.org/mt/73948932/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/leave/8023207/1426099254/xyzzy [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
