From c5ded9838b4ae59224aa2193c0df6765d0191bee Mon Sep 17 00:00:00 2001 From: Andreas Jaeger <aj@suse.de> Date: Thu, 24 Aug 2000 14:11:19 +0000 Subject: Update. * Examples/ex13.c: Include <string.h> for strerror prototype and <stdlib.h> for abort prototype. --- linuxthreads/ChangeLog | 3 ++- linuxthreads/Examples/ex13.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index 72674f8..2fce6eb 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,6 +1,7 @@ 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. (thread_start): Remove unused variable err. (main): Silence GCC warnings. diff --git a/linuxthreads/Examples/ex13.c b/linuxthreads/Examples/ex13.c index f50a96e..3a03479 100644 --- a/linuxthreads/Examples/ex13.c +++ b/linuxthreads/Examples/ex13.c @@ -21,6 +21,7 @@ #include <errno.h> #include <pthread.h> #include <stdio.h> +#include <stdlib.h> #include <string.h> #include <unistd.h> -- cgit v1.1