(mkstemp): Remove, since mkstemp.h does this for us.
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:
#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. */