[BACK]Return to tfind.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / stdlib

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/stdlib/tfind.c between version 1.3 and 1.3.18.2

version 1.3, 1999/09/20 04:39:43 version 1.3.18.2, 2005/03/23 11:12:21
Line 25  __RCSID("$NetBSD$");
Line 25  __RCSID("$NetBSD$");
 void *  void *
 tfind(vkey, vrootp, compar)  tfind(vkey, vrootp, compar)
         const void *vkey;               /* key to be found */          const void *vkey;               /* key to be found */
         void **vrootp;                  /* address of the tree root */          void * const *vrootp;           /* address of the tree root */
         int (*compar) __P((const void *, const void *));          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(vkey != NULL);
         _DIAGASSERT(compar != NULL);          _DIAGASSERT(compar != NULL);

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.3.18.2

CVSweb <webmaster@jp.NetBSD.org>