diff --git a/nwnss-audit.md b/nwnss-audit.md index d8b3fc7..c44fb11 100644 --- a/nwnss-audit.md +++ b/nwnss-audit.md @@ -615,7 +615,7 @@ even if it already compiles or has indirect test coverage. | TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/misc/register.c` | Must be compared against original source and classified. | | TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/misc/sysimp.c` | Must be compared against original source and classified. | | TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/misc/xmlNSS.c` | Must be compared against original source and classified. | -| TODO | ORIG+FIX? | not yet classified | `src/nwnss/library/misc/xmlNSS2.c` | Must be compared against original source and classified. | +| AUDITED | ORIG+FIX | nwnss.xml | `src/nwnss/library/misc/xmlNSS2.c` | Compared with original `public_core/library/misc/xmlNSS2.c`. Source restored to keep the original `procdefs.h` include and original `aprintf` call; remaining differences are compile-fix includes for `xStdlib.h`/`xStdio.h`/`xUnicode.h` plus whitespace cleanup. | ### Sources: library/os diff --git a/src/nwnss/library/misc/xmlNSS2.c b/src/nwnss/library/misc/xmlNSS2.c index 2111022..e42b767 100644 --- a/src/nwnss/library/misc/xmlNSS2.c +++ b/src/nwnss/library/misc/xmlNSS2.c @@ -39,6 +39,8 @@ | See Also | xmlNSS.c +-------------------------------------------------------------------------*/ +#include + #include #include #include @@ -48,6 +50,7 @@ #include "zError.h" #include "guid.h" #include "xmlNSS.h" +#include #include #include @@ -302,7 +305,7 @@ void XML_Display( } memcpy( buffer, start, amount-1 ); buffer[amount-1] = 0; - LB_aprintf( LGREEN, "%s \"%s\"\n", messageString, buffer ); + aprintf( LGREEN, "%s \"%s\"\n", messageString, buffer ); LB_free( buffer ); } /* End of XML_Display() */