Browse Source

stdlib: Fix fndecl of mkostemp, mkostemp64

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer 12 years ago
parent
commit
5084cf8b6b
2 changed files with 2 additions and 6 deletions
  1. 1 3
      libc/stdlib/mkostemp.c
  2. 1 3
      libc/stdlib/mkostemp64.c

+ 1 - 3
libc/stdlib/mkostemp.c

@@ -24,9 +24,7 @@
    they are replaced with a string that makes the filename unique.
    they are replaced with a string that makes the filename unique.
    Then open the file and return a fd. */
    Then open the file and return a fd. */
 int
 int
-mkostemp (template, flags)
+mkostemp (char *template, int flags)
-     char *template;
-     int flags;
 {
 {
   return __gen_tempname (template, __GT_FILE, flags);
   return __gen_tempname (template, __GT_FILE, flags);
 }
 }

+ 1 - 3
libc/stdlib/mkostemp64.c

@@ -25,9 +25,7 @@
    they are replaced with a string that makes the filename unique.
    they are replaced with a string that makes the filename unique.
    Then open the file and return a fd. */
    Then open the file and return a fd. */
 int
 int
-mkostemp64 (template, flags)
+mkostemp64 (char *template, int flags)
-     char *template;
-     int flags;
 {
 {
   return __gen_tempname (template, __GT_BIGFILE, flags | O_LARGEFILE);
   return __gen_tempname (template, __GT_BIGFILE, flags | O_LARGEFILE);
 }
 }