Author: tkreuzer
Date: Mon Dec 28 14:42:41 2015
New Revision: 70454
URL:
http://svn.reactos.org/svn/reactos?rev=70454&view=rev
Log:
[SPEC2DEF]
Don't use DATA and PRIVATE together. DATA means no stub function is generated in the
import lib, PRIVATE means nothing is generated in the export lib.
Modified:
trunk/reactos/tools/spec2def/spec2def.c
Modified: trunk/reactos/tools/spec2def/spec2def.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/spec2def/spec2def.c?…
==============================================================================
--- trunk/reactos/tools/spec2def/spec2def.c [iso-8859-1] (original)
+++ trunk/reactos/tools/spec2def/spec2def.c [iso-8859-1] Mon Dec 28 14:42:41 2015
@@ -688,12 +688,12 @@
fprintf(fileDest, " NONAME");
}
+ /* Either PRIVATE or DATA */
if (pexp->uFlags & FL_PRIVATE)
{
fprintf(fileDest, " PRIVATE");
}
-
- if (pexp->nCallingConvention == CC_EXTERN)
+ else if (pexp->nCallingConvention == CC_EXTERN)
{
fprintf(fileDest, " DATA");
}