Janitorial : Use Compiler Warnings ( -Wmissing-declarations ) ( #1 )

Rémi Assailly remi.assailly at free.fr
Mon Jan 10 08:05:42 CST 2005


Selon Alexandre Julliard <julliard at winehq.org>:

> Rémi Assailly <remi.assailly at free.fr> writes:
>
> > --- include/wine/library.h	2005-01-07 19:41:26.000000000 +0100
> > +++ include/wine/library.h	2005-01-07 19:49:41.389057824 +0100
> > @@ -42,6 +42,7 @@
> >  extern void *wine_dlopen( const char *filename, int flag, char *error, int
> errorsize );
> >  extern void *wine_dlsym( void *handle, const char *symbol, char *error,
> int errorsize );
> >  extern int wine_dlclose( void *handle, char *error, int errorsize );
> > +extern void __wine_dll_register( const IMAGE_NT_HEADERS *header, const
> char *filename );
>
> Functions starting with '__wine' are internal only and must not be
> declared in the public headers if it can be avoided.
>
> --
> Alexandre Julliard
> julliard at winehq.org
>

Can we create "private" headers ? headers which will be only used in files where
some declarations are missing ?



More information about the wine-devel mailing list