ntdll: Make some data const.

This commit is contained in:
Dmitry Timoshkov 2006-11-29 18:02:45 +08:00 committed by Alexandre Julliard
parent 3dc6390e72
commit 1f1d2ddf5b
2 changed files with 3 additions and 3 deletions

View File

@ -155,8 +155,8 @@ NtQuerySecurityObject(
IN ULONG Length,
OUT PULONG ResultLength)
{
static SID_IDENTIFIER_AUTHORITY localSidAuthority = {SECURITY_NT_AUTHORITY};
static SID_IDENTIFIER_AUTHORITY worldSidAuthority = {SECURITY_WORLD_SID_AUTHORITY};
static const SID_IDENTIFIER_AUTHORITY localSidAuthority = {SECURITY_NT_AUTHORITY};
static const SID_IDENTIFIER_AUTHORITY worldSidAuthority = {SECURITY_WORLD_SID_AUTHORITY};
BYTE Buffer[256];
PISECURITY_DESCRIPTOR_RELATIVE psd = (PISECURITY_DESCRIPTOR_RELATIVE)Buffer;
UINT BufferIndex = sizeof(SECURITY_DESCRIPTOR_RELATIVE);

View File

@ -896,7 +896,7 @@ DWORD WINAPI RtlGetLongestNtPathLength(void)
BOOLEAN WINAPI RtlIsNameLegalDOS8Dot3( const UNICODE_STRING *unicode,
OEM_STRING *oem, BOOLEAN *spaces )
{
static const char* illegal = "*?<>|\"+=,;[]:/\\\345";
static const char illegal[] = "*?<>|\"+=,;[]:/\\\345";
int dot = -1;
int i;
char buffer[12];