Maintain the fnmatch() API from FreeBSD-5 using an inline, rename the
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 6 Jan 2004 01:05:52 +0000 (01:05 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 6 Jan 2004 01:05:52 +0000 (01:05 +0000)
commit0640b3c2cd8c32c47dea8e750de5f29c6e78f4c4
tree6e044ffbdd13df37cc08be685da40692d9373533
parent2ec56d3734416d14d839a32ec15059ab50b9bfa8
Maintain the fnmatch() API from FreeBSD-5 using an inline, rename the
core fnmatch procedure to _fnmatch, and add a nesting count to it to avoid
stack overflows.  Also cleanup the syntax (mainly add braces and ansification).
sys/libkern/fnmatch.c
sys/sys/libkern.h