aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/posix/popen.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/posix/popen.c')
-rw-r--r--newlib/libc/posix/popen.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/newlib/libc/posix/popen.c b/newlib/libc/posix/popen.c
index bbd0fc4..04aca4c 100644
--- a/newlib/libc/posix/popen.c
+++ b/newlib/libc/posix/popen.c
@@ -109,8 +109,7 @@ static struct pid {
} *pidlist;
FILE *
-_DEFUN(popen, (program, type),
- const char *program,
+popen (const char *program,
const char *type)
{
struct pid *cur;
@@ -197,8 +196,7 @@ _DEFUN(popen, (program, type),
* if already `pclosed', or waitpid returns an error.
*/
int
-_DEFUN(pclose, (iop),
- FILE *iop)
+pclose (FILE *iop)
{
register struct pid *cur, *last;
int pstat;