Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2013-11-25 21:23:30 +0400
committerCorinna Vinschen <corinna@vinschen.de>2013-11-25 21:23:30 +0400
commit05efdc441d17d1d28b646c4c167d542072b0b0dc (patch)
treee26bd837e8f178332477cf0f7e53da514605173a /newlib/libc
parentd482870337349732ad1c9f3715730fd32b6216d0 (diff)
* 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.
Diffstat (limited to 'newlib/libc')
-rw-r--r--newlib/libc/include/spawn.h2
-rw-r--r--newlib/libc/posix/posix_spawn.c2
2 files changed, 2 insertions, 2 deletions
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;