summaryrefslogtreecommitdiffstats
path: root/lib/libpthread
diff options
context:
space:
mode:
authordt <dt@FreeBSD.org>1999-06-23 15:01:22 +0000
committerdt <dt@FreeBSD.org>1999-06-23 15:01:22 +0000
commitd1bfd3d82b8b42ff695b7d35a79e28c0050e0a5b (patch)
tree5997e5761b64bc89e8e0e9d455900b538c338bea /lib/libpthread
parentfeb3b0d86961b0308f428b619f53e6f6dfb182e3 (diff)
downloadFreeBSD-src-d1bfd3d82b8b42ff695b7d35a79e28c0050e0a5b.zip
FreeBSD-src-d1bfd3d82b8b42ff695b7d35a79e28c0050e0a5b.tar.gz
Fix few warnings on the alpha.
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/thread/thr_init.c4
-rw-r--r--lib/libpthread/thread/thr_select.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/lib/libpthread/thread/thr_init.c b/lib/libpthread/thread/thr_init.c
index d470301..8b907d7 100644
--- a/lib/libpthread/thread/thr_init.c
+++ b/lib/libpthread/thread/thr_init.c
@@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: uthread_init.c,v 1.11 1999/06/20 08:28:28 jb Exp $
*/
/* Allocate space for global thread variables here: */
@@ -84,7 +84,7 @@ _thread_init(void)
int fd;
int flags;
int i;
- int len;
+ size_t len;
int mib[2];
struct clockinfo clockinfo;
struct sigaction act;
diff --git a/lib/libpthread/thread/thr_select.c b/lib/libpthread/thread/thr_select.c
index c2f86c5..918fe29 100644
--- a/lib/libpthread/thread/thr_select.c
+++ b/lib/libpthread/thread/thr_select.c
@@ -29,11 +29,12 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: uthread_select.c,v 1.7 1999/06/20 08:28:43 jb Exp $
*/
#include <unistd.h>
#include <errno.h>
#include <poll.h>
+#include <stdlib.h>
#include <string.h>
#include <sys/param.h>
#include <sys/types.h>
OpenPOWER on IntegriCloud