- Remove internal HAL function from ntifs
authorAlex Ionescu <aionescu@gmail.com>
Thu, 16 Nov 2006 06:55:59 +0000 (06:55 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Thu, 16 Nov 2006 06:55:59 +0000 (06:55 +0000)
- Make sure obfuncs.h includes obtypes.h if it's ever included separately.
- Add ARC_STATUS and ARC Error Codes.

svn path=/trunk/; revision=24766

reactos/include/ddk/ntifs.h
reactos/include/ndk/obfuncs.h
reactos/include/reactos/arc/arc.h

index 30ec249..365969c 100644 (file)
@@ -3061,13 +3061,6 @@ HalDisplayString (
     IN PCHAR String
 );
 
-NTHALAPI
-VOID
-NTAPI
-HalSetRealTimeClock (
-    IN PTIME_FIELDS TimeFields
-);
-
 NTKERNELAPI
 NTSTATUS
 NTAPI
index e974136..eb9970e 100644 (file)
@@ -23,6 +23,7 @@ Author:
 // Dependencies
 //
 #include <umtypes.h>
+#include <obtypes.h>
 
 #ifndef NTOS_MODE_USER
 
index 19affe8..72a8afb 100644 (file)
@@ -1,6 +1,35 @@
 #ifndef _ARC_
 #define _ARC_
 
+typedef ULONG ARC_STATUS;
+
+typedef enum _ARC_CODES
+{
+    ESUCCESS,
+    E2BIG,
+    EACCES,
+    EAGAIN,
+    EBADF,
+    EBUSY,
+    EFAULT,
+    EINVAL,
+    EIO,
+    EISDIR,
+    EMFILE,
+    EMLINK,
+    ENAMETOOLONG,
+    ENODEV,
+    ENOENT,
+    ENOEXEC,
+    ENOMEM,
+    ENOSPC,
+    ENOTDIR,
+    ENOTTY,
+    ENXIO,
+    EROFS,
+    EMAXIMUM
+} ARC_CODES;
+
 typedef enum _IDENTIFIER_FLAG
 {
     Failed = 0x01,