diff options
author | Andreas Jaeger <aj@suse.de> | 2000-08-24 14:11:19 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-08-24 14:11:19 +0000 |
commit | c5ded9838b4ae59224aa2193c0df6765d0191bee (patch) | |
tree | 5d0e7de8efa689beed840c3c107e35750311b8ad | |
parent | 469e977feb83e832c7200441453b6db92c8b3a80 (diff) | |
download | glibc-c5ded9838b4ae59224aa2193c0df6765d0191bee.tar.gz glibc-c5ded9838b4ae59224aa2193c0df6765d0191bee.tar.xz glibc-c5ded9838b4ae59224aa2193c0df6765d0191bee.zip |
Update.
* Examples/ex13.c: Include <string.h> for strerror prototype and <stdlib.h> for abort prototype.
-rw-r--r-- | linuxthreads/ChangeLog | 3 | ||||
-rw-r--r-- | linuxthreads/Examples/ex13.c | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index 72674f878b..2fce6eb467 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 f50a96e7d9..3a0347993a 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> |