[REACTOS] Cleanup INIT and some PAGE section allocations
[reactos.git] / ntoskrnl / io / pnpmgr / plugplay.c
index 933e514..4f930e9 100644 (file)
 #define NDEBUG
 #include <debug.h>
 
-#if defined (ALLOC_PRAGMA)
-#pragma alloc_text(INIT, IopInitPlugPlayEvents)
-#endif
-
 typedef struct _PNP_EVENT_ENTRY
 {
     LIST_ENTRY ListEntry;
@@ -30,7 +26,8 @@ static KEVENT IopPnpNotifyEvent;
 
 /* FUNCTIONS *****************************************************************/
 
-NTSTATUS INIT_FUNCTION
+CODE_SEG("INIT")
+NTSTATUS
 IopInitPlugPlayEvents(VOID)
 {
     InitializeListHead(&IopPnpEventQueueHead);