Commit d5d8967f authored by Alexandre Julliard's avatar Alexandre Julliard

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.
parent 4ffc11ad
......@@ -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 );
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment