Forráskód Böngészése

stdlib: Fix fndecl of mkostemp, mkostemp64

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer 12 éve
szülő
commit
5084cf8b6b
2 módosított fájl, 2 hozzáadás és 6 törlés
  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.
    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);
 }

+ 1 - 3
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);
 }