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:
parent
c004d32eb8
commit
7347018381
|
@ -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.
|
* Copyright (c) 2002 Wasabi Systems, Inc.
|
||||||
|
@ -36,7 +36,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#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 <stddef.h>
|
||||||
#include <stdlib.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 <sys/types.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
|
#include <machine/reg.h>
|
||||||
|
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#include <pthread_int.h>
|
#include <pthread_int.h>
|
||||||
#include <pthread_dbg.h>
|
#include <pthread_dbg.h>
|
||||||
#include <pthread_dbg_int.h>
|
#include <pthread_dbg_int.h>
|
||||||
#include <machine/reg.h>
|
|
||||||
|
|
||||||
#define MIN(a,b) ((a)<(b) ? (a) : (b))
|
#define MIN(a,b) ((a)<(b) ? (a) : (b))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue