Avoid lint warning after previous.
This commit is contained in:
parent
ae9d3eacae
commit
a6636f0f7b
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: tfind.c,v 1.4 2005/03/22 20:13:42 kleink Exp $ */
|
||||
/* $NetBSD: tfind.c,v 1.5 2005/03/23 08:16:53 kleink Exp $ */
|
||||
|
||||
/*
|
||||
* Tree search generalized from Knuth (6.2.2) Algorithm T just like
|
||||
@ -13,7 +13,7 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
__RCSID("$NetBSD: tfind.c,v 1.4 2005/03/22 20:13:42 kleink Exp $");
|
||||
__RCSID("$NetBSD: tfind.c,v 1.5 2005/03/23 08:16:53 kleink Exp $");
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include <assert.h>
|
||||
@ -28,7 +28,7 @@ tfind(vkey, vrootp, compar)
|
||||
void * const *vrootp; /* address of the tree root */
|
||||
int (*compar) __P((const void *, const void *));
|
||||
{
|
||||
node_t **rootp = (node_t **)vrootp;
|
||||
node_t * const *rootp = (node_t * const*)vrootp;
|
||||
|
||||
_DIAGASSERT(vkey != NULL);
|
||||
_DIAGASSERT(compar != NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user