Mike Frysinger wrote: > the internal_wstrmatch() prototype should be moved to lib/globl/strmatch.h as > more than just strmatch.c uses this function (smatch.c uses it as well).
No. If you look at how smatch.c is compiled, you'll see that it abuses the C preprocessor to compile single-byte and multibyte versions of the matching functions. sm_loop.c provides the prototypes for the functions it compiles (internal_wstrmatch and internal_strmatch, each of which are defined as `FCT' before including sm_loop.c). Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/