apps/system/system/system.c: Add 'const' to make function signature compatible with OpenGroup.org

This commit is contained in:
Xiang Xiao 2018-08-23 06:38:45 -06:00 committed by Gregory Nutt
parent ddd86d31ca
commit 32182421a9

View File

@ -72,9 +72,9 @@
* *
****************************************************************************/ ****************************************************************************/
int system(FAR char *cmd) int system(FAR const char *cmd)
{ {
FAR char *argv[2]; FAR const char *argv[2];
struct sched_param param; struct sched_param param;
posix_spawnattr_t attr; posix_spawnattr_t attr;
pid_t pid; pid_t pid;