projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ANSI C comment style.
[gnulib.git]
/
lib
/
mkstemp-safer.c
diff --git
a/lib/mkstemp-safer.c
b/lib/mkstemp-safer.c
index
315385d
..
c8c5bbd
100644
(file)
--- a/
lib/mkstemp-safer.c
+++ b/
lib/mkstemp-safer.c
@@
-18,24
+18,18
@@
/* Written by Paul Eggert. */
/* Written by Paul Eggert. */
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
#include "stdlib-safer.h"
#include "stdlib-safer.h"
-#include
<stdlib.h>
+#include
"mkstemp.h"
#include "unistd-safer.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. */
int
/* Like mkstemp, but do not return STDIN_FILENO, STDOUT_FILENO, or
STDERR_FILENO. */
int
-mkstemp_safer (char *templ
ate
)
+mkstemp_safer (char *templ)
{
{
- return fd_safer (mkstemp (templ
ate
));
+ return fd_safer (mkstemp (templ));
}
}