OSDN Git Service

stdlib: Fix fndecl of mkostemp, mkostemp64
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Sun, 10 Feb 2013 16:21:15 +0000 (17:21 +0100)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 11 Feb 2013 08:42:16 +0000 (09:42 +0100)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libc/stdlib/mkostemp.c
libc/stdlib/mkostemp64.c

index 93b50fc..0369235 100644 (file)
@@ -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);
 }
index 5509d8c..d21def5 100644 (file)
@@ -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);
 }