From: Bernhard Reutner-Fischer Date: Sun, 10 Feb 2013 16:21:15 +0000 (+0100) Subject: stdlib: Fix fndecl of mkostemp, mkostemp64 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=5084cf8b6b8f01890b62bfd0edf085d04887d084;p=uclinux-h8%2FuClibc.git stdlib: Fix fndecl of mkostemp, mkostemp64 Signed-off-by: Bernhard Reutner-Fischer --- 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); } diff --git a/libc/stdlib/mkostemp64.c b/libc/stdlib/mkostemp64.c index 5509d8c1b..d21def58a 100644 --- a/libc/stdlib/mkostemp64.c +++ b/libc/stdlib/mkostemp64.c @@ -25,9 +25,7 @@ they are replaced with a string that makes the filename unique. Then open the file and return a fd. */ int -mkostemp64 (template, flags) - char *template; - int flags; +mkostemp64 (char *template, int flags) { return __gen_tempname (template, __GT_BIGFILE, flags | O_LARGEFILE); }