Add a minimal implementation to suppress warnings when building application code shared with other operating systems. For example: When building with a c++ compiler and GCC 12.2.0, the following warning is emitted: nuttx/include/spawn.h:178:40: warning: statement has no effect [-Wunused-value] 178 | #define posix_spawnattr_destroy(attr) (0) |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| lib_psa_destroy.c | ||
| lib_psa_dump.c | ||
| lib_psa_getflags.c | ||
| lib_psa_getschedparam.c | ||
| lib_psa_getschedpolicy.c | ||
| lib_psa_getsigmask.c | ||
| lib_psa_getstackaddr.c | ||
| lib_psa_getstacksize.c | ||
| lib_psa_init.c | ||
| lib_psa_setflags.c | ||
| lib_psa_setschedparam.c | ||
| lib_psa_setschedpolicy.c | ||
| lib_psa_setsigmask.c | ||
| lib_psa_setstackaddr.c | ||
| lib_psa_setstacksize.c | ||
| lib_psfa_addaction.c | ||
| lib_psfa_addclose.c | ||
| lib_psfa_adddup2.c | ||
| lib_psfa_addopen.c | ||
| lib_psfa_destroy.c | ||
| lib_psfa_dump.c | ||
| lib_psfa_init.c | ||
| Make.defs | ||