diff options
Diffstat (limited to 'newlib/libc/stdlib/system.c')
-rw-r--r-- | newlib/libc/stdlib/system.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/newlib/libc/stdlib/system.c b/newlib/libc/stdlib/system.c index ad2217743..73c0540d9 100644 --- a/newlib/libc/stdlib/system.c +++ b/newlib/libc/stdlib/system.c @@ -69,10 +69,7 @@ _system_r (ptr, s) struct _reent *ptr; _CONST char *s; { -#if defined(HAVE_SYSTEM) - return _system (s); - ptr = ptr; -#elif defined(NO_EXEC) +#ifdef NO_EXEC if (s == NULL) return 0; errno = ENOSYS; |