0713 nwnss: keep xmlNSS2 close to original includes

This commit is contained in:
Mario Fetka
2026-06-17 13:11:11 +00:00
parent a398950819
commit 2e7f009cb8
2 changed files with 5 additions and 2 deletions

View File

@@ -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

View File

@@ -39,6 +39,8 @@
| See Also
| xmlNSS.c
+-------------------------------------------------------------------------*/
#include <procdefs.h>
#include <zOmni.h>
#include <stdlib.h>
#include <stdio.h>
@@ -48,6 +50,7 @@
#include "zError.h"
#include "guid.h"
#include "xmlNSS.h"
#include <library/xStdlib.h>
#include <library/xStdio.h>
#include <library/xUnicode.h>
@@ -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() */