aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2000-12-06 11:02:28 +0000
committerCorinna Vinschen <corinna@vinschen.de>2000-12-06 11:02:28 +0000
commitec270d314840e5f8a2f02ecae43b6d51b174e37b (patch)
treef661874f60df609c9378954fd8aac8559be61a52
parent48ba505b8bc8671c7a2b243c816bf6f5b4451291 (diff)
downloadnewlib-ec270d314840e5f8a2f02ecae43b6d51b174e37b.zip
newlib-ec270d314840e5f8a2f02ecae43b6d51b174e37b.tar.gz
newlib-ec270d314840e5f8a2f02ecae43b6d51b174e37b.tar.bz2
* libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/include/stdlib.h6
2 files changed, 10 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 049140e..2544b4e 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
+
+ * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
+
2000-12-04 Joel Sherrill <joel@OARcorp.com>
* libc/include/machine/time.h: RTEMS systems can configure clock
diff --git a/newlib/libc/include/stdlib.h b/newlib/libc/include/stdlib.h
index 642b71e..46cb2e9 100644
--- a/newlib/libc/include/stdlib.h
+++ b/newlib/libc/include/stdlib.h
@@ -78,6 +78,12 @@ size_t _EXFUN(mbstowcs,(wchar_t *, const char *, size_t));
size_t _EXFUN(_mbstowcs_r,(struct _reent *, wchar_t *, const char *, size_t, int *));
size_t _EXFUN(wcstombs,(char *, const wchar_t *, size_t));
size_t _EXFUN(_wcstombs_r,(struct _reent *, char *, const wchar_t *, size_t, int *));
+#ifndef __STRICT_ANSI__
+#ifndef _REENT_ONLY
+int _EXFUN(mkstemp,(char *));
+char * _EXFUN(mktemp,(char *));
+#endif
+#endif
_VOID _EXFUN(qsort,(_PTR __base, size_t __nmemb, size_t __size, int(*_compar)(const _PTR, const _PTR)));
int _EXFUN(rand,(_VOID));
_PTR _EXFUN(realloc,(_PTR __r, size_t __size));