open_posix_testsuite/conformace/interfaces: Fix.

Change the main() and main(argc, argv) to main(void).

This fixes a lot of warnings in the latter case.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
open_posix_testsuite/.../pthread_attr_setschedpolicy/4-1

* Include string.h for strerror()

* Change exit() to plain return

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
open_posix_testsuite/.../pthread_attr_setscope/5-1

* Change exit() to plain return

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
open_posix_testsuite/.../pthread_attr_setstack/2-1

* Fix printf() format string

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
open_posix_testsuite/.../pthread_attr_setstacksize/2-1

* Fix printf() format string.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
open_posix_testsuite/.../pthread_cond_init/2-1

* Include stdio.h for printf()

* Declare the cond variable as non-static
  (as it is unused intentionally)

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
openposix/.../pthread_create,pthread_exit: Fix.

Fix the preprocessor in pthread_create/3-2.c and pthread_exit/6-1.c.

I shouldn't have done such dumb mistake, my apologies.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
open_posix_testsuite/.../pthread_getschedparam/1-1

* Include stdlib.h for exit()

* Remove parameter definition from thread function