Use free Windows DDK and compile with latest MinGW releases.
[reactos.git] / reactos / ntoskrnl / ob / namespc.c
index 8852ed8..85ac3f3 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: namespc.c,v 1.32 2002/08/20 20:37:14 hyperion Exp $
+/* $Id: namespc.c,v 1.33 2002/09/07 15:13:04 chorns Exp $
  *
  * COPYRIGHT:      See COPYING in the top level directory
  * PROJECT:        ReactOS kernel
 
 /* INCLUDES ***************************************************************/
 
-#include <limits.h>
-#include <ddk/ntddk.h>
-#include <internal/ob.h>
-#include <internal/io.h>
-#include <internal/pool.h>
+#include <ntoskrnl.h>
 
 #define NDEBUG
 #include <internal/debug.h>
 
+
 /* GLOBALS ****************************************************************/
 
 POBJECT_TYPE ObDirectoryType = NULL;
@@ -383,7 +380,7 @@ ObInit(VOID)
                       L"ObjectType");
 
   /* create root directory */
-  ObCreateObject(NULL,
+  ObRosCreateObject(NULL,
                 STANDARD_RIGHTS_REQUIRED,
                 NULL,
                 ObDirectoryType,
@@ -397,7 +394,7 @@ ObInit(VOID)
                             OBJ_PERMANENT,
                             NULL,
                             NULL);
-  ObCreateObject(NULL,
+  ObRosCreateObject(NULL,
                 STANDARD_RIGHTS_REQUIRED,
                 &ObjectAttributes,
                 ObDirectoryType,
@@ -428,7 +425,7 @@ ObpCreateTypeObject(POBJECT_TYPE ObjectType)
                             OBJ_PERMANENT,
                             NULL,
                             NULL);
-  Status = ObCreateObject(NULL,
+  Status = ObRosCreateObject(NULL,
                          STANDARD_RIGHTS_REQUIRED,
                          &ObjectAttributes,
                          ObTypeObjectType,