From ec270d314840e5f8a2f02ecae43b6d51b174e37b Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 6 Dec 2000 11:02:28 +0000 Subject: * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'. --- newlib/ChangeLog | 4 ++++ newlib/libc/include/stdlib.h | 6 ++++++ 2 files changed, 10 insertions(+) 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 + + * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'. + 2000-12-04 Joel Sherrill * 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)); -- cgit v1.1