Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libpthread Need to include <string.h> for memcmp() proto...



details:   https://anonhg.NetBSD.org/src/rev/bc2eace74810
branches:  trunk
changeset: 542136:bc2eace74810
user:      scw <scw%NetBSD.org@localhost>
date:      Wed Jan 22 13:49:14 2003 +0000

description:
Need to include <string.h> for memcmp() prototype.

diffstat:

 lib/libpthread/pthread_mutex.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 8b084e3cf77d -r bc2eace74810 lib/libpthread/pthread_mutex.c
--- a/lib/libpthread/pthread_mutex.c    Wed Jan 22 13:46:44 2003 +0000
+++ b/lib/libpthread/pthread_mutex.c    Wed Jan 22 13:49:14 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pthread_mutex.c,v 1.5 2003/01/19 21:42:09 thorpej Exp $        */
+/*     $NetBSD: pthread_mutex.c,v 1.6 2003/01/22 13:49:14 scw Exp $    */
 
 /*-
  * Copyright (c) 2001, 2003 The NetBSD Foundation, Inc.
@@ -41,6 +41,7 @@
 #include <errno.h>
 #include <limits.h>
 #include <stdlib.h>
+#include <string.h>
 
 #include "pthread.h"
 #include "pthread_int.h"



Home | Main Index | Thread Index | Old Index