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/perror.c')
-rw-r--r--newlib/libc/stdio/perror.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/newlib/libc/stdio/perror.c b/newlib/libc/stdio/perror.c
index e3e70a6f1..d98e17e19 100644
--- a/newlib/libc/stdio/perror.c
+++ b/newlib/libc/stdio/perror.c
@@ -59,8 +59,7 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
#include "local.h"
void
-_DEFUN(_perror_r, (ptr, s),
- struct _reent *ptr,
+_perror_r (struct _reent *ptr,
const char *s)
{
char *error;
@@ -82,8 +81,7 @@ _DEFUN(_perror_r, (ptr, s),
#ifndef _REENT_ONLY
void
-_DEFUN(perror, (s),
- const char *s)
+perror (const char *s)
{
_perror_r (_REENT, s);
}