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/stdlib/system.c')
-rw-r--r--newlib/libc/stdlib/system.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/newlib/libc/stdlib/system.c b/newlib/libc/stdlib/system.c
index 0df7d60d3..34be6cd8f 100644
--- a/newlib/libc/stdlib/system.c
+++ b/newlib/libc/stdlib/system.c
@@ -57,8 +57,7 @@ static int _EXFUN(do_system, (struct _reent *ptr, const char *s));
#endif
int
-_DEFUN(_system_r, (ptr, s),
- struct _reent *ptr,
+_system_r (struct _reent *ptr,
const char *s)
{
#if defined(HAVE_SYSTEM)
@@ -93,8 +92,7 @@ _DEFUN(_system_r, (ptr, s),
#ifndef _REENT_ONLY
int
-_DEFUN(system, (s),
- const char *s)
+system (const char *s)
{
return _system_r (_REENT, s);
}
@@ -110,8 +108,7 @@ extern char **environ;
static char ***p_environ = &environ;
static int
-_DEFUN(do_system, (ptr, s),
- struct _reent *ptr,
+do_system (struct _reent *ptr,
const char *s)
{
char *argv[4];
@@ -142,8 +139,7 @@ _DEFUN(do_system, (ptr, s),
#if defined (__CYGWIN__)
static int
-_DEFUN(do_system, (ptr, s),
- struct _reent *ptr,
+do_system (struct _reent *ptr,
const char *s)
{
char *argv[4];