Author: tfaber
Date: Sun Dec 15 22:01:53 2013
New Revision: 61280
URL:
http://svn.reactos.org/svn/reactos?rev=61280&view=rev
Log:
[SPEC2DEF]
- Fix the order of NONAME/PRIVATE/DATA in def file output
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] Sun Dec 15 22:01:53 2013
@@ -481,19 +481,19 @@
fprintf(fileDest, " @%d", pexp->nOrdinal);
}
+ if (pexp->uFlags & FL_NONAME)
+ {
+ fprintf(fileDest, " NONAME");
+ }
+
+ if (pexp->uFlags & FL_PRIVATE)
+ {
+ fprintf(fileDest, " PRIVATE");
+ }
+
if (pexp->nCallingConvention == CC_EXTERN)
{
fprintf(fileDest, " DATA");
- }
-
- if (pexp->uFlags & FL_PRIVATE)
- {
- fprintf(fileDest, " PRIVATE");
- }
-
- if (pexp->uFlags & FL_NONAME)
- {
- fprintf(fileDest, " NONAME");
}
fprintf(fileDest, "\n");