summaryrefslogtreecommitdiffstats
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.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/newlib/libc/posix/popen.c b/newlib/libc/posix/popen.c
index f522c0b9d..0f25a3ed0 100644
--- a/newlib/libc/posix/popen.c
+++ b/newlib/libc/posix/popen.c
@@ -63,9 +63,9 @@ static struct pid {
} *pidlist;
FILE *
-popen(program, type)
- const char *program;
- const char *type;
+_DEFUN(popen, (program, type),
+ const char *program _AND
+ const char *type)
{
struct pid *cur;
FILE *iop;
@@ -144,8 +144,8 @@ popen(program, type)
* if already `pclosed', or waitpid returns an error.
*/
int
-pclose(iop)
- FILE *iop;
+_DEFUN(pclose, (iop),
+ FILE *iop)
{
register struct pid *cur, *last;
int pstat;