Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/tmpnam.c')
-rw-r--r--newlib/libc/stdio/tmpnam.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/newlib/libc/stdio/tmpnam.c b/newlib/libc/stdio/tmpnam.c
index d794a988e..3bd5b6a58 100644
--- a/newlib/libc/stdio/tmpnam.c
+++ b/newlib/libc/stdio/tmpnam.c
@@ -86,8 +86,7 @@ The global pointer <<environ>> is also required.
another one. Return nonzero if successful, otherwise zero. */
static int
-_DEFUN(worker, (ptr, result, part1, part2, part3, part4),
- struct _reent *ptr,
+worker (struct _reent *ptr,
char *result,
const char *part1,
const char *part2,
@@ -118,8 +117,7 @@ _DEFUN(worker, (ptr, result, part1, part2, part3, part4),
}
char *
-_DEFUN(_tmpnam_r, (p, s),
- struct _reent *p,
+_tmpnam_r (struct _reent *p,
char *s)
{
char *result;
@@ -147,8 +145,7 @@ _DEFUN(_tmpnam_r, (p, s),
}
char *
-_DEFUN(_tempnam_r, (p, dir, pfx),
- struct _reent *p,
+_tempnam_r (struct _reent *p,
const char *dir,
const char *pfx)
{
@@ -174,16 +171,14 @@ _DEFUN(_tempnam_r, (p, dir, pfx),
#ifndef _REENT_ONLY
char *
-_DEFUN(tempnam, (dir, pfx),
- const char *dir,
+tempnam (const char *dir,
const char *pfx)
{
return _tempnam_r (_REENT, dir, pfx);
}
char *
-_DEFUN(tmpnam, (s),
- char *s)
+tmpnam (char *s)
{
return _tmpnam_r (_REENT, s);
}