Stumbled upon this while doing some Winelib sutff. Changelog: Terminate the lfind inline function in search.h. Vincent
Index: wine/include/msvcrt/search.h =================================================================== RCS file: /home/wine/wine/include/msvcrt/search.h,v retrieving revision 1.5 diff -u -r1.5 search.h --- wine/include/msvcrt/search.h 22 Mar 2003 21:15:41 -0000 1.5 +++ wine/include/msvcrt/search.h 17 Apr 2003 16:18:12 -0000 @@ -54,7 +54,7 @@ #ifndef USE_MSVCRT_PREFIX -static inline void* lfind(const void* match, const void* start, unsigned int* array_size, unsigned int elem_size, int (*cf)(const void*,const void*)) { return _lfind(match, start, array_size, elem_size, cf); +static inline void* lfind(const void* match, const void* start, unsigned int* array_size, unsigned int elem_size, int (*cf)(const void*,const void*)) { return _lfind(match, start, array_size, elem_size, cf); } static inline void* lsearch(const void* match, void* start, unsigned int* array_size, unsigned int elem_size, int (*cf)(const void*,const void*) ) { return _lsearch(match, start, array_size, elem_size, cf); } #endif /* USE_MSVCRT_PREFIX */