Mercurial > hg > octave-shane > gnulib-hg
changeset 7340:71b7fd6909ea
* mkstemp-safer.c: Include "mkstemp.h".
(mkstemp): Remove, since mkstemp.h does this for us.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Wed, 20 Sep 2006 20:14:40 +0000 |
parents | 9f4982d3a01e |
children | 1244a558ab8b |
files | lib/ChangeLog lib/mkstemp-safer.c |
diffstat | 2 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -6,6 +6,8 @@ Include "mkstemp.h". Make the _LIBC code resemble glibc original more, e.g., use K&R style. + * mkstemp-safer.c: Include "mkstemp.h". + (mkstemp): Remove, since mkstemp.h does this for us. * stdlib--.h: Include mkstemp.h. Import this patch from libc:
--- a/lib/mkstemp-safer.c +++ b/lib/mkstemp-safer.c @@ -23,12 +23,9 @@ #include "stdlib-safer.h" #include <stdlib.h> +#include "mkstemp.h" #include "unistd-safer.h" -#if ! HAVE_MKSTEMP -int mkstemp (char *); -#endif - /* Like mkstemp, but do not return STDIN_FILENO, STDOUT_FILENO, or STDERR_FILENO. */