[git commit branch/0.9.33] stdlib: Fix fndecl of mkostemp, mkostemp64

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Sun Feb 10 16:22:14 UTC 2013


commit: http://git.uclibc.org/uClibc/commit/?id=608e01aa0d744fb7a486d48da68c9c7355dcd4ea
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/0.9.33

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 libc/stdlib/mkostemp.c   |    4 +---
 libc/stdlib/mkostemp64.c |    4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/libc/stdlib/mkostemp.c b/libc/stdlib/mkostemp.c
index 93b50fc..0369235 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 5509d8c..d21def5 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);
 }


More information about the uClibc-cvs mailing list