Function declaration fixes

Patrik Stridvall ps at leissner.se
Mon Jul 23 18:45:07 CDT 2001


> On Mon, 23 Jul 2001, Patrik Stridvall wrote:
> [...]
> > *** declarations
> >
> > * dlls/msvcrt/cpp.c,
> >   dlls/msvcrt/exit.c,
> >   dlls/msvcrt/mbcs.c,
> >   dlls/msvcrt/msvcrt.h,
> >   dlls/ntdll/signal_i386.c,
> >   dlls/shell32/shlmenu.c,
> >   include/wine/undocshell.h:
> > - Made sure that the files that contains the declarations
> >   of the implementated functions are included.
> > - Corrected mismatching prototypes.
> > - Cleaned up the include section.
> 
>    You should not add a prototype for MSVCRT_isleadbyte and
> MSVCRT_realloc in wine/dlls/msvcrt/msvcrt.h. These are declared in
> include/msvcrt/wctype.h and include/msvcrt/malloc.h respectively. The
> correct fix is to include these headers where needed.

Of course. I grep:ed for them but I forgot about the MSVCRT macro,
so I didn't think they existed.

OK. Here is a new version of the 32-bit patch.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: declarations.diff
Type: application/octet-stream
Size: 4502 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20010724/25ab6e76/declarations.obj


More information about the wine-patches mailing list