Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
33c0db06
Commit
33c0db06
authored
Jun 22, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Jun 26, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Constify some variables.
parent
bd15feab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
env.c
dlls/ntdll/env.c
+3
-3
winternl.h
include/winternl.h
+1
-1
No files found.
dlls/ntdll/env.c
View file @
33c0db06
...
...
@@ -263,7 +263,7 @@ done:
* RtlExpandEnvironmentStrings_U (NTDLL.@)
*
*/
NTSTATUS
WINAPI
RtlExpandEnvironmentStrings_U
(
PWSTR
renv
,
const
UNICODE_STRING
*
us_src
,
NTSTATUS
WINAPI
RtlExpandEnvironmentStrings_U
(
P
C
WSTR
renv
,
const
UNICODE_STRING
*
us_src
,
PUNICODE_STRING
us_dst
,
PULONG
plen
)
{
DWORD
src_len
,
len
,
count
,
total_size
=
1
;
/* 1 for terminating '\0' */
...
...
@@ -367,9 +367,9 @@ PRTL_USER_PROCESS_PARAMETERS WINAPI RtlNormalizeProcessParams( RTL_USER_PROCESS_
}
static
inline
void
denormalize
(
void
*
base
,
WCHAR
**
ptr
)
static
inline
void
denormalize
(
const
void
*
base
,
WCHAR
**
ptr
)
{
if
(
*
ptr
)
*
ptr
=
(
WCHAR
*
)(
UINT_PTR
)((
char
*
)
*
ptr
-
(
char
*
)
base
);
if
(
*
ptr
)
*
ptr
=
(
WCHAR
*
)(
UINT_PTR
)((
char
*
)
*
ptr
-
(
c
onst
c
har
*
)
base
);
}
/******************************************************************************
...
...
include/winternl.h
View file @
33c0db06
...
...
@@ -2057,7 +2057,7 @@ BOOL WINAPI RtlEqualSid(PSID,PSID);
BOOLEAN
WINAPI
RtlEqualString
(
const
STRING
*
,
const
STRING
*
,
BOOLEAN
);
BOOLEAN
WINAPI
RtlEqualUnicodeString
(
const
UNICODE_STRING
*
,
const
UNICODE_STRING
*
,
BOOLEAN
);
void
DECLSPEC_NORETURN
WINAPI
RtlExitUserThread
(
ULONG
);
NTSTATUS
WINAPI
RtlExpandEnvironmentStrings_U
(
PWSTR
,
const
UNICODE_STRING
*
,
UNICODE_STRING
*
,
ULONG
*
);
NTSTATUS
WINAPI
RtlExpandEnvironmentStrings_U
(
P
C
WSTR
,
const
UNICODE_STRING
*
,
UNICODE_STRING
*
,
ULONG
*
);
LONGLONG
WINAPI
RtlExtendedMagicDivide
(
LONGLONG
,
LONGLONG
,
INT
);
LONGLONG
WINAPI
RtlExtendedIntegerMultiply
(
LONGLONG
,
INT
);
LONGLONG
WINAPI
RtlExtendedLargeIntegerDivide
(
LONGLONG
,
INT
,
INT
*
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment