Michael Stefaniuc : include: Drop "l" modifiers from numeric constants in winternl.h.

Alexandre Julliard julliard at winehq.org
Mon Nov 14 13:33:55 CST 2011


Module: wine
Branch: master
Commit: 5337ad066f3d09f86ee88c120d87080c96e3d902
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5337ad066f3d09f86ee88c120d87080c96e3d902

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Thu Nov 10 01:39:59 2011 +0100

include: Drop "l" modifiers from numeric constants in winternl.h.

---

 include/winternl.h |   78 ++++++++++++++++++++++++++--------------------------
 1 files changed, 39 insertions(+), 39 deletions(-)

diff --git a/include/winternl.h b/include/winternl.h
index cba5171..d8dd177 100644
--- a/include/winternl.h
+++ b/include/winternl.h
@@ -1604,14 +1604,14 @@ typedef struct _RTL_HANDLE_TABLE
 
 #define LOGONID_CURRENT    ((ULONG)-1)
 
-#define OBJ_INHERIT          0x00000002L
-#define OBJ_PERMANENT        0x00000010L
-#define OBJ_EXCLUSIVE        0x00000020L
-#define OBJ_CASE_INSENSITIVE 0x00000040L
-#define OBJ_OPENIF           0x00000080L
-#define OBJ_OPENLINK         0x00000100L
-#define OBJ_KERNEL_HANDLE    0x00000200L
-#define OBJ_VALID_ATTRIBUTES 0x000003F2L
+#define OBJ_INHERIT          0x00000002
+#define OBJ_PERMANENT        0x00000010
+#define OBJ_EXCLUSIVE        0x00000020
+#define OBJ_CASE_INSENSITIVE 0x00000040
+#define OBJ_OPENIF           0x00000080
+#define OBJ_OPENLINK         0x00000100
+#define OBJ_KERNEL_HANDLE    0x00000200
+#define OBJ_VALID_ATTRIBUTES 0x000003F2
 
 #define SERVERNAME_CURRENT ((HANDLE)NULL)
 
@@ -1629,37 +1629,37 @@ typedef void (NTAPI *RTL_WAITORTIMERCALLBACKFUNC)(PVOID,BOOLEAN); /* FIXME: not
 #define DPFLTR_MASK    0x8000000
 
 /* Well-known LUID values */
-#define SE_MIN_WELL_KNOWN_PRIVILEGE       2L
-#define SE_CREATE_TOKEN_PRIVILEGE         2L
-#define SE_ASSIGNPRIMARYTOKEN_PRIVILEGE   3L
-#define SE_LOCK_MEMORY_PRIVILEGE          4L
-#define SE_INCREASE_QUOTA_PRIVILEGE       5L
-#define SE_UNSOLICITED_INPUT_PRIVILEGE    6L /* obsolete */
-#define SE_MACHINE_ACCOUNT_PRIVILEGE      6L
-#define SE_TCB_PRIVILEGE                  7L
-#define SE_SECURITY_PRIVILEGE             8L
-#define SE_TAKE_OWNERSHIP_PRIVILEGE       9L
-#define SE_LOAD_DRIVER_PRIVILEGE         10L
-#define SE_SYSTEM_PROFILE_PRIVILEGE      11L
-#define SE_SYSTEMTIME_PRIVILEGE          12L
-#define SE_PROF_SINGLE_PROCESS_PRIVILEGE 13L
-#define SE_INC_BASE_PRIORITY_PRIVILEGE   14L
-#define SE_CREATE_PAGEFILE_PRIVILEGE     15L
-#define SE_CREATE_PERMANENT_PRIVILEGE    16L
-#define SE_BACKUP_PRIVILEGE              17L
-#define SE_RESTORE_PRIVILEGE             18L
-#define SE_SHUTDOWN_PRIVILEGE            19L
-#define SE_DEBUG_PRIVILEGE               20L
-#define SE_AUDIT_PRIVILEGE               21L
-#define SE_SYSTEM_ENVIRONMENT_PRIVILEGE  22L
-#define SE_CHANGE_NOTIFY_PRIVILEGE       23L
-#define SE_REMOTE_SHUTDOWN_PRIVILEGE     24L
-#define SE_UNDOCK_PRIVILEGE              25L
-#define SE_SYNC_AGENT_PRIVILEGE          26L
-#define SE_ENABLE_DELEGATION_PRIVILEGE   27L
-#define SE_MANAGE_VOLUME_PRIVILEGE       28L
-#define SE_IMPERSONATE_PRIVILEGE         29L
-#define SE_CREATE_GLOBAL_PRIVILEGE       30L
+#define SE_MIN_WELL_KNOWN_PRIVILEGE       2
+#define SE_CREATE_TOKEN_PRIVILEGE         2
+#define SE_ASSIGNPRIMARYTOKEN_PRIVILEGE   3
+#define SE_LOCK_MEMORY_PRIVILEGE          4
+#define SE_INCREASE_QUOTA_PRIVILEGE       5
+#define SE_UNSOLICITED_INPUT_PRIVILEGE    6 /* obsolete */
+#define SE_MACHINE_ACCOUNT_PRIVILEGE      6
+#define SE_TCB_PRIVILEGE                  7
+#define SE_SECURITY_PRIVILEGE             8
+#define SE_TAKE_OWNERSHIP_PRIVILEGE       9
+#define SE_LOAD_DRIVER_PRIVILEGE         10
+#define SE_SYSTEM_PROFILE_PRIVILEGE      11
+#define SE_SYSTEMTIME_PRIVILEGE          12
+#define SE_PROF_SINGLE_PROCESS_PRIVILEGE 13
+#define SE_INC_BASE_PRIORITY_PRIVILEGE   14
+#define SE_CREATE_PAGEFILE_PRIVILEGE     15
+#define SE_CREATE_PERMANENT_PRIVILEGE    16
+#define SE_BACKUP_PRIVILEGE              17
+#define SE_RESTORE_PRIVILEGE             18
+#define SE_SHUTDOWN_PRIVILEGE            19
+#define SE_DEBUG_PRIVILEGE               20
+#define SE_AUDIT_PRIVILEGE               21
+#define SE_SYSTEM_ENVIRONMENT_PRIVILEGE  22
+#define SE_CHANGE_NOTIFY_PRIVILEGE       23
+#define SE_REMOTE_SHUTDOWN_PRIVILEGE     24
+#define SE_UNDOCK_PRIVILEGE              25
+#define SE_SYNC_AGENT_PRIVILEGE          26
+#define SE_ENABLE_DELEGATION_PRIVILEGE   27
+#define SE_MANAGE_VOLUME_PRIVILEGE       28
+#define SE_IMPERSONATE_PRIVILEGE         29
+#define SE_CREATE_GLOBAL_PRIVILEGE       30
 #define SE_MAX_WELL_KNOWN_PRIVILEGE      SE_CREATE_GLOBAL_PRIVILEGE
 
 /* NtGlobalFlag bits */




More information about the wine-cvs mailing list