Skip to content

Commit

Permalink
[FREELDR][ROSSYM(_NEW)] Remove last vestigial references to "NTOSAPI".
Browse files Browse the repository at this point in the history
This was a MinGW-specific, non-MS-DDK/WDK-compatible define, that was
used to mark NTOS kernel/hal exports, instead of NTSYSAPI etc.

We have since fixed that, and changed the way Freeldr (and rossym)
manages these, see commits:
186c8b7 (r16028), 51f0dfd (r17651) and 526efd2 (r24359)
  • Loading branch information
HBelusca committed Mar 7, 2024
1 parent def2fe5 commit e1d3347
Show file tree
Hide file tree
Showing 22 changed files with 4 additions and 22 deletions.
1 change: 0 additions & 1 deletion boot/freeldr/freeldr/include/freeldr.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@

/* Public headers */
#ifdef __REACTOS__
#define NTOSAPI
#include <ntddk.h>
#include <ntifs.h>
#include <ioaccess.h>
Expand Down
1 change: 0 additions & 1 deletion sdk/lib/rossym/delete.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
* PROGRAMMERS: Ge van Geldorp ([email protected])
*/

#define NTOSAPI
#include <ntdef.h>
#include <reactos/rossym.h>
#include "rossympriv.h"
Expand Down
1 change: 0 additions & 1 deletion sdk/lib/rossym/dwarfabbrev.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* explicit reference counting if this turns out not to be acceptable.
*/

#define NTOSAPI
#include <ntddk.h>
#include <reactos/rossym.h>
#include "rossympriv.h"
Expand Down
1 change: 0 additions & 1 deletion sdk/lib/rossym/dwarfaranges.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* Dwarf address ranges parsing code.
*/

#define NTOSAPI
#include <ntddk.h>
#include <reactos/rossym.h>
#include "rossympriv.h"
Expand Down
1 change: 0 additions & 1 deletion sdk/lib/rossym/dwarfcfa.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* the same encoding.
*/

#define NTOSAPI
#include <ntddk.h>
#include <reactos/rossym.h>
#include "rossympriv.h"
Expand Down
1 change: 0 additions & 1 deletion sdk/lib/rossym/dwarfget.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* Dwarf data format parsing routines.
*/

#define NTOSAPI
#include <ntddk.h>
#include <reactos/rossym.h>
#include "rossympriv.h"
Expand Down
1 change: 0 additions & 1 deletion sdk/lib/rossym/dwarfinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* Dwarf info parse and search.
*/

#define NTOSAPI
#include <ntifs.h>
#include <ndk/ntndk.h>
#include <reactos/rossym.h>
Expand Down
2 changes: 1 addition & 1 deletion sdk/lib/rossym/dwarfopen.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#define NTOSAPI

#include <ntddk.h>
#include <reactos/rossym.h>
#include "rossympriv.h"
Expand Down
1 change: 0 additions & 1 deletion sdk/lib/rossym/dwarfpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* The encoding may be small, but it sure isn't simple!
*/

#define NTOSAPI
#include <ntddk.h>
#include <reactos/rossym.h>
#include "rossympriv.h"
Expand Down
2 changes: 1 addition & 1 deletion sdk/lib/rossym/dwarfpubnames.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#define NTOSAPI

#include <ntddk.h>
#include <reactos/rossym.h>
#include <ntimage.h>
Expand Down
1 change: 0 additions & 1 deletion sdk/lib/rossym/fromfile.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
* PROGRAMMERS: Ge van Geldorp ([email protected])
*/

#define NTOSAPI
#include <ntdef.h>
#include <reactos/rossym.h>
#include "rossympriv.h"
Expand Down
1 change: 0 additions & 1 deletion sdk/lib/rossym/frommem.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
* PROGRAMMERS: Ge van Geldorp ([email protected])
*/

#define NTOSAPI
#include <ntdef.h>
#include <reactos/rossym.h>
#include "rossympriv.h"
Expand Down
1 change: 0 additions & 1 deletion sdk/lib/rossym/fromraw.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
* PROGRAMMERS: Ge van Geldorp ([email protected])
*/

#define NTOSAPI
#include <ntdef.h>
#include <reactos/rossym.h>
#include "rossympriv.h"
Expand Down
1 change: 0 additions & 1 deletion sdk/lib/rossym/getraw.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
* PROGRAMMERS: Ge van Geldorp ([email protected])
*/

#define NTOSAPI
#include <ntdef.h>
#include <reactos/rossym.h>
#include "rossympriv.h"
Expand Down
1 change: 0 additions & 1 deletion sdk/lib/rossym/iofile.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
* PROGRAMMERS: Ge van Geldorp ([email protected])
*/

#define NTOSAPI
#include <ntddk.h>
#include <reactos/rossym.h>
#include "rossympriv.h"
Expand Down
2 changes: 1 addition & 1 deletion sdk/lib/rossym/pe.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#define NTOSAPI

#include <ntifs.h>
#include <ndk/ntndk.h>
#include <reactos/rossym.h>
Expand Down
1 change: 0 additions & 1 deletion sdk/lib/rossym/zwfile.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
* PROGRAMMERS: Ge van Geldorp ([email protected])
*/

#define NTOSAPI
#include <wdm.h>
#include <reactos/rossym.h>
#include "rossympriv.h"
Expand Down
1 change: 0 additions & 1 deletion sdk/lib/rossym_new/frommem.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
* PROGRAMMERS: Ge van Geldorp ([email protected])
*/

#define NTOSAPI
#include <ntifs.h>
#include <ndk/ntndk.h>
#include <reactos/rossym.h>
Expand Down
1 change: 0 additions & 1 deletion sdk/lib/rossym_new/fromraw.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
* PROGRAMMERS: Ge van Geldorp ([email protected])
*/

#define NTOSAPI
#include <ntddk.h>
#include <reactos/rossym.h>
#include "rossympriv.h"
Expand Down
1 change: 0 additions & 1 deletion sdk/lib/rossym_new/getraw.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
* PROGRAMMERS: Ge van Geldorp ([email protected])
*/

#define NTOSAPI
#include <ntddk.h>
#include <reactos/rossym.h>
#include "rossympriv.h"
Expand Down
1 change: 0 additions & 1 deletion sdk/lib/rossym_new/iofile.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
* PROGRAMMERS: Ge van Geldorp ([email protected])
*/

#define NTOSAPI
#include <ntddk.h>
#include <reactos/rossym.h>
#include "rossympriv.h"
Expand Down
2 changes: 1 addition & 1 deletion sdk/lib/rossym_new/precomp.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#define NTOSAPI

#include <ntifs.h>
#include <ntimage.h>
#include <ndk/psfuncs.h>
Expand Down

0 comments on commit e1d3347

Please sign in to comment.