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.
This commit is contained in:
martin 2004-06-10 18:06:19 +00:00
parent c004d32eb8
commit 7347018381
1 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pthread_dbg.c,v 1.23 2004/06/10 01:38:29 nathanw Exp $ */
/* $NetBSD: pthread_dbg.c,v 1.24 2004/06/10 18:06:19 martin Exp $ */
/*-
* Copyright (c) 2002 Wasabi Systems, Inc.
@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
__RCSID("$NetBSD: pthread_dbg.c,v 1.23 2004/06/10 01:38:29 nathanw Exp $");
__RCSID("$NetBSD: pthread_dbg.c,v 1.24 2004/06/10 18:06:19 martin Exp $");
#include <stddef.h>
#include <stdlib.h>
@ -45,11 +45,12 @@ __RCSID("$NetBSD: pthread_dbg.c,v 1.23 2004/06/10 01:38:29 nathanw Exp $");
#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))