From: Garrett C. <ris...@li...> - 2010-04-08 04:58:39
|
The branch, pu, has been updated via 2eb2342d3a9db5a089742473895af4fdf1e6f4c8 (commit) via 5da1b33941b513ac1f693cf86e27b5750b43dea2 (commit) from e90e0138cb7444d5db967183397b776979efd593 (commit) - Log ----------------------------------------------------------------- commit 2eb2342d3a9db5a089742473895af4fdf1e6f4c8 Author: Garrett Cooper <yan...@gm...> Date: Wed Apr 7 21:57:26 2010 -0700 Fix more deprecated malloc.h includes. Signed-off-by: Garrett Cooper <yan...@gm...> commit 5da1b33941b513ac1f693cf86e27b5750b43dea2 Author: Garrett Cooper <yan...@gm...> Date: Wed Apr 7 21:53:54 2010 -0700 Fix incorrect / missing included headers. POSIX 1003.1 2004 states that stdlib.h supplants malloc.h and signal.h is required for sigaction and sigemptyset. Signed-off-by: Garrett Cooper <yan...@gm...> ----------------------------------------------------------------------- Summary of changes: .../conformance/interfaces/aio_cancel/3-1.c | 2 +- .../conformance/interfaces/aio_cancel/4-1.c | 1 - .../conformance/interfaces/aio_cancel/5-1.c | 1 - .../conformance/interfaces/aio_cancel/6-1.c | 1 - .../conformance/interfaces/aio_cancel/7-1.c | 1 - .../conformance/interfaces/aio_error/2-1.c | 1 - 6 files changed, 1 insertions(+), 6 deletions(-) diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/3-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/3-1.c index 4b75c08..29db1ec 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/3-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/3-1.c @@ -35,8 +35,8 @@ #include <fcntl.h> #include <string.h> #include <errno.h> +#include <signal.h> #include <stdlib.h> -#include <malloc.h> #include <aio.h> #include "posixtest.h" diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/4-1.c index a3a3c6c..9499df5 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/4-1.c @@ -35,7 +35,6 @@ #include <string.h> #include <errno.h> #include <stdlib.h> -#include <malloc.h> #include <aio.h> #include "posixtest.h" diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/5-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/5-1.c index 65531cf..956e749 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/5-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/5-1.c @@ -33,7 +33,6 @@ #include <string.h> #include <errno.h> #include <stdlib.h> -#include <malloc.h> #include <aio.h> #include "posixtest.h" diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/6-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/6-1.c index cc0b5e2..5e35427 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/6-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/6-1.c @@ -36,7 +36,6 @@ #include <string.h> #include <errno.h> #include <stdlib.h> -#include <malloc.h> #include <aio.h> #include "posixtest.h" diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/7-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/7-1.c index 8db24ab..6b8f70c 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/7-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/7-1.c @@ -34,7 +34,6 @@ #include <string.h> #include <errno.h> #include <stdlib.h> -#include <malloc.h> #include <aio.h> #include "posixtest.h" diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_error/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_error/2-1.c index 4940091..0ba1abe 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_error/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_error/2-1.c @@ -29,7 +29,6 @@ #include <string.h> #include <errno.h> #include <stdlib.h> -#include <malloc.h> #include <aio.h> #include "posixtest.h" hooks/post-receive -- ltp |