Several of the header files in the public VOS API include vos_private.h.
Either these dependencies should be removed or vos_private.h should be come part of the API.
At least after a quick look through the files, I don't see that including vos_private.h would be necessary in any of the API header files; I don't know why these inclusions exist at all.
vos_private.h mainly specifies platform-dependent structure definitions of the types VOS_SEMA, VOS_MUTEX and VOS_SHRD.
But since the VOS API uses hidden definitions it is not necessary that the structure definitions are actually known in the header files.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is mainly the case for the vxWorks code and the vos_shared_mem.h file. If you can build for vxWorks, could you take over this ticket? I cannot...
At least after a quick look through the files, I don't see that including vos_private.h would be necessary in any of the API header files; I don't know why these inclusions exist at all.
vos_private.h mainly specifies platform-dependent structure definitions of the types VOS_SEMA, VOS_MUTEX and VOS_SHRD.
But since the VOS API uses hidden definitions it is not necessary that the structure definitions are actually known in the header files.