diff options
author | Eric Blake <eblake@redhat.com> | 2009-08-18 17:07:55 +0000 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2009-08-18 17:07:55 +0000 |
commit | e9708d920c07914c671b45616d985b26d0abf0b3 (patch) | |
tree | a5018c679671c63c70d3bb60d2aafa741727b121 | |
parent | a0511609626a3eabf8fa4a2b7769b9096ae4caa6 (diff) | |
download | newlib-e9708d920c07914c671b45616d985b26d0abf0b3.zip newlib-e9708d920c07914c671b45616d985b26d0abf0b3.tar.gz newlib-e9708d920c07914c671b45616d985b26d0abf0b3.tar.bz2 |
* libc/posix/popen.c (popen): Fix documented prototype.
-rw-r--r-- | newlib/ChangeLog | 2 | ||||
-rw-r--r-- | newlib/libc/posix/popen.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 655116b..caf3bdd 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,5 +1,7 @@ 2009-08-18 Eric Blake <ebb9@byu.net> + * libc/posix/popen.c (popen): Fix documented prototype. + Improve popen compatibility with glibc. * libc/posix/popen.c (popen): The 2006-08-22 change to use FD_CLOEXEC disagrees with other implementations; instead, use diff --git a/newlib/libc/posix/popen.c b/newlib/libc/posix/popen.c index accf76c..38978c7 100644 --- a/newlib/libc/posix/popen.c +++ b/newlib/libc/posix/popen.c @@ -43,7 +43,7 @@ INDEX ANSI_SYNOPSIS #include <stdio.h> - FILE *popen(char *<[s]>, char *<[mode]>); + FILE *popen(const char *<[s]>, const char *<[mode]>); int pclose(FILE *<[f]>); |