mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
Added a warning for DllGetVersion and DllInstall not being declared
private. Also warn when one of the Dll* functions is using a different internal name.
This commit is contained in:
parent
4ffc11ad0e
commit
d5d8967f69
@ -522,9 +522,14 @@ static int parse_spec_ordinal( int ordinal, DLLSPEC *spec )
|
||||
if (!strcmp( odp->name, "DllRegisterServer" ) ||
|
||||
!strcmp( odp->name, "DllUnregisterServer" ) ||
|
||||
!strcmp( odp->name, "DllGetClassObject" ) ||
|
||||
!strcmp( odp->name, "DllGetVersion" ) ||
|
||||
!strcmp( odp->name, "DllInstall" ) ||
|
||||
!strcmp( odp->name, "DllCanUnloadNow" ))
|
||||
{
|
||||
warning( "Function %s should be marked private\n", odp->name );
|
||||
if (strcmp( odp->name, odp->link_name ))
|
||||
warning( "Function %s should not use a different internal name (%s)\n",
|
||||
odp->name, odp->link_name );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user