From 05efdc441d17d1d28b646c4c167d542072b0b0dc Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 25 Nov 2013 17:23:30 +0000 Subject: [PATCH] * 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. --- newlib/ChangeLog | 6 ++++++ newlib/libc/include/spawn.h | 2 +- newlib/libc/posix/posix_spawn.c | 2 +- 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 + + * 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 * 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;