summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2013-11-25 17:23:30 +0000
committerCorinna Vinschen <corinna@vinschen.de>2013-11-25 17:23:30 +0000
commit05efdc441d17d1d28b646c4c167d542072b0b0dc (patch)
treee26bd837e8f178332477cf0f7e53da514605173a
parentd482870337349732ad1c9f3715730fd32b6216d0 (diff)
downloadcygnal-05efdc441d17d1d28b646c4c167d542072b0b0dc.tar.gz
cygnal-05efdc441d17d1d28b646c4c167d542072b0b0dc.tar.bz2
cygnal-05efdc441d17d1d28b646c4c167d542072b0b0dc.zip
* libc/include/spawn.h (posix_spawn_file_actions_destroy): Fix typo
in function name. * libc/posix/posix_spawn.c (posix_spawn_file_actions_destroy): Ditto.
-rw-r--r--newlib/ChangeLog6
-rw-r--r--newlib/libc/include/spawn.h2
-rw-r--r--newlib/libc/posix/posix_spawn.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 6b7d7b15a..2bf1703e6 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,9 @@
+2013-11-25 Corinna Vinschen <vinschen@redhat.com>
+
+ * libc/include/spawn.h (posix_spawn_file_actions_destroy): Fix typo
+ in function name.
+ * libc/posix/posix_spawn.c (posix_spawn_file_actions_destroy): Ditto.
+
2013-11-25 Sahil Patnayakuni <sahil.patnayakuni@gmail.com>
* libc/include/time.h (time): Add restrict keyword.
diff --git a/newlib/libc/include/spawn.h b/newlib/libc/include/spawn.h
index 55867b598..5a6692f11 100644
--- a/newlib/libc/include/spawn.h
+++ b/newlib/libc/include/spawn.h
@@ -66,7 +66,7 @@ int _EXFUN(posix_spawnp, (pid_t * __restrict, const char * __restrict,
* File descriptor actions
*/
int _EXFUN(posix_spawn_file_actions_init, (posix_spawn_file_actions_t *));
-int _EXFUN(posix_spawn_file_action_destroy, (posix_spawn_file_actions_t *));
+int _EXFUN(posix_spawn_file_actions_destroy, (posix_spawn_file_actions_t *));
int _EXFUN(posix_spawn_file_actions_addopen,
(posix_spawn_file_actions_t * __restrict, int, const char * __restrict, int, mode_t)
diff --git a/newlib/libc/posix/posix_spawn.c b/newlib/libc/posix/posix_spawn.c
index 14d5b8090..2d273708d 100644
--- a/newlib/libc/posix/posix_spawn.c
+++ b/newlib/libc/posix/posix_spawn.c
@@ -339,7 +339,7 @@ _DEFUN(posix_spawn_file_actions_init, (ret),
}
int
-_DEFUN(posix_spawn_file_action_destroy, (fa),
+_DEFUN(posix_spawn_file_actions_destroy, (fa),
posix_spawn_file_actions_t *fa)
{
posix_spawn_file_actions_entry_t *fae;