summaryrefslogtreecommitdiff
path: root/libc/stdlib/mkostemp.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-02-10 17:21:15 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-02-11 09:42:16 +0100
commit5084cf8b6b8f01890b62bfd0edf085d04887d084 (patch)
tree5c05933c99e06663c09edc63b9e44749743c4b3f /libc/stdlib/mkostemp.c
parent7b6604113e322247261eb0d027a97ae44b5f32d1 (diff)
stdlib: Fix fndecl of mkostemp, mkostemp64
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/stdlib/mkostemp.c')
-rw-r--r--libc/stdlib/mkostemp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/stdlib/mkostemp.c b/libc/stdlib/mkostemp.c
index 93b50fc40..0369235dc 100644
--- a/libc/stdlib/mkostemp.c
+++ b/libc/stdlib/mkostemp.c
@@ -24,9 +24,7 @@
they are replaced with a string that makes the filename unique.
Then open the file and return a fd. */
int
-mkostemp (template, flags)
- char *template;
- int flags;
+mkostemp (char *template, int flags)
{
return __gen_tempname (template, __GT_FILE, flags);
}