Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-2]: src/lib/libpthread_dbg Pull up following revision(s) (request...
details: https://anonhg.NetBSD.org/src/rev/0fc74ccecaf9
branches: netbsd-2
changeset: 564011:0fc74ccecaf9
user: snj <snj%NetBSD.org@localhost>
date: Sat Aug 27 05:14:49 2005 +0000
description:
Pull up following revision(s) (requested by riz in ticket #5615):
lib/libpthread_dbg/pthread_dbg.c: revision 1.24
Ouch. Lint didn't like the last change on sparc64. The reason:
<machine/reg.h> plays dirty naming tricks on sparc64 to allow 32bit
compatibility (reg -> reg64 and the parameter in
PTHREAD_REG_TO_UCONTEXT() is called reg). This probably needs to be
fixed separately, but for now reordering the includes will do.
diffstat:
lib/libpthread_dbg/pthread_dbg.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (32 lines):
diff -r aec616e089d1 -r 0fc74ccecaf9 lib/libpthread_dbg/pthread_dbg.c
--- a/lib/libpthread_dbg/pthread_dbg.c Sat Aug 27 05:12:43 2005 +0000
+++ b/lib/libpthread_dbg/pthread_dbg.c Sat Aug 27 05:14:49 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pthread_dbg.c,v 1.16.4.2 2005/08/27 05:12:43 snj Exp $ */
+/* $NetBSD: pthread_dbg.c,v 1.16.4.3 2005/08/27 05:14:49 snj Exp $ */
/*-
* Copyright (c) 2002 Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: pthread_dbg.c,v 1.16.4.2 2005/08/27 05:12:43 snj Exp $");
+__RCSID("$NetBSD: pthread_dbg.c,v 1.16.4.3 2005/08/27 05:14:49 snj Exp $");
#include <stddef.h>
#include <stdlib.h>
@@ -45,11 +45,12 @@
#include <sys/types.h>
#include <unistd.h>
+#include <machine/reg.h>
+
#include <pthread.h>
#include <pthread_int.h>
#include <pthread_dbg.h>
#include <pthread_dbg_int.h>
-#include <machine/reg.h>
#define MIN(a,b) ((a)<(b) ? (a) : (b))
Home |
Main Index |
Thread Index |
Old Index