You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2020/06/03 13:46:14 UTC
[incubator-nuttx] 02/03: libc: Remove CONFIG_LIBC_TMPDIR definition
from lib_mkstemp.c
This is an automated email from the ASF dual-hosted git repository.
gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit c76443f456bc332738727a148222fd493088fe42
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Wed Jun 3 10:17:21 2020 +0800
libc: Remove CONFIG_LIBC_TMPDIR definition from lib_mkstemp.c
since this file doesn't use this macro at all
Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
Change-Id: I6042316a2568e35ed1b3dd0ab1b974ca5d23f02f
---
libs/libc/stdlib/lib_mkstemp.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/libs/libc/stdlib/lib_mkstemp.c b/libs/libc/stdlib/lib_mkstemp.c
index 5b6e5dd..feb95d8 100644
--- a/libs/libc/stdlib/lib_mkstemp.c
+++ b/libs/libc/stdlib/lib_mkstemp.c
@@ -38,10 +38,6 @@
* Pre-processor definitions
****************************************************************************/
-#ifndef CONFIG_LIBC_TMPDIR
-# define CONFIG_LIBC_TMPDIR "/tmp"
-#endif
-
#define MAX_XS 6
#define MIN_NUMERIC 0 /* 0-9: Numeric */
#define MAX_NUMERIC 9