1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
* Examples/ex13.c: Include <string.h> for strerror prototype and
	<stdlib.h> for abort prototype.
This commit is contained in:
Andreas Jaeger
2000-08-24 14:11:19 +00:00
parent 469e977feb
commit c5ded9838b
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,7 @@
2000-08-24 Andreas Jaeger <aj@suse.de> 2000-08-24 Andreas Jaeger <aj@suse.de>
* Examples/ex13.c: Include <string.h> for for strerror prototype. * Examples/ex13.c: Include <string.h> for strerror prototype and
<stdlib.h> for abort prototype.
(pthr_cond_signal_mutex): Rewrite to silence GCC. (pthr_cond_signal_mutex): Rewrite to silence GCC.
(thread_start): Remove unused variable err. (thread_start): Remove unused variable err.
(main): Silence GCC warnings. (main): Silence GCC warnings.

View File

@ -21,6 +21,7 @@
#include <errno.h> #include <errno.h>
#include <pthread.h> #include <pthread.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>