Commit 1f1d2ddf authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

ntdll: Make some data const.

parent 3dc6390e
...@@ -155,8 +155,8 @@ NtQuerySecurityObject( ...@@ -155,8 +155,8 @@ NtQuerySecurityObject(
IN ULONG Length, IN ULONG Length,
OUT PULONG ResultLength) OUT PULONG ResultLength)
{ {
static SID_IDENTIFIER_AUTHORITY localSidAuthority = {SECURITY_NT_AUTHORITY}; static const SID_IDENTIFIER_AUTHORITY localSidAuthority = {SECURITY_NT_AUTHORITY};
static SID_IDENTIFIER_AUTHORITY worldSidAuthority = {SECURITY_WORLD_SID_AUTHORITY}; static const SID_IDENTIFIER_AUTHORITY worldSidAuthority = {SECURITY_WORLD_SID_AUTHORITY};
BYTE Buffer[256]; BYTE Buffer[256];
PISECURITY_DESCRIPTOR_RELATIVE psd = (PISECURITY_DESCRIPTOR_RELATIVE)Buffer; PISECURITY_DESCRIPTOR_RELATIVE psd = (PISECURITY_DESCRIPTOR_RELATIVE)Buffer;
UINT BufferIndex = sizeof(SECURITY_DESCRIPTOR_RELATIVE); UINT BufferIndex = sizeof(SECURITY_DESCRIPTOR_RELATIVE);
......
...@@ -896,7 +896,7 @@ DWORD WINAPI RtlGetLongestNtPathLength(void) ...@@ -896,7 +896,7 @@ DWORD WINAPI RtlGetLongestNtPathLength(void)
BOOLEAN WINAPI RtlIsNameLegalDOS8Dot3( const UNICODE_STRING *unicode, BOOLEAN WINAPI RtlIsNameLegalDOS8Dot3( const UNICODE_STRING *unicode,
OEM_STRING *oem, BOOLEAN *spaces ) OEM_STRING *oem, BOOLEAN *spaces )
{ {
static const char* illegal = "*?<>|\"+=,;[]:/\\\345"; static const char illegal[] = "*?<>|\"+=,;[]:/\\\345";
int dot = -1; int dot = -1;
int i; int i;
char buffer[12]; char buffer[12];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment