From e2ccce1f2e7eb71fcde30f1e295113b9acb77b15 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Thu, 23 Aug 2018 06:40:59 -0600 Subject: [PATCH] apps/system/system/system.c: Add 'const' to make function prototype compatible with OpenGroup.org requirement --- include/stdlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/stdlib.h b/include/stdlib.h index f8cf9d7b24..b178250e70 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -182,7 +182,7 @@ void _exit(int status); /* See unistd.h */ */ #ifndef __KERNEL__ -int system(FAR char *cmd); +int system(FAR const char *cmd); #endif /* String to binary conversions */