twalk() expects an `action' function not a comparison function.

The text is correct in the "DESCRIPTION" section, so fix "SYNOPSIS"
to use the correct name.

PR:		docs/90498
Submitted by:	Vasil Dimov
MFC after:	3 days
This commit is contained in:
Giorgos Keramidas 2006-06-23 13:36:33 +00:00
parent 25b5a928f7
commit 1d3a1c8bce

View File

@ -42,7 +42,7 @@
.Ft void * .Ft void *
.Fn tsearch "const void *key" "void **rootp" "int (*compar) (const void *, const void *)" .Fn tsearch "const void *key" "void **rootp" "int (*compar) (const void *, const void *)"
.Ft void .Ft void
.Fn twalk "const void *root" "void (*compar) (const void *, VISIT, int)" .Fn twalk "const void *root" "void (*action) (const void *, VISIT, int)"
.Sh DESCRIPTION .Sh DESCRIPTION
The The
.Fn tdelete , .Fn tdelete ,