mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
[NTOS:EX] Fix SAL notations, Timeout
parameter should be optional (#7482)
Fix warnings: E:\3rdRepo\ReactOS_Fork4\ntoskrnl\ex\keyedevt.c(458): warning C6387: 'Timeout' could be '0': this does not adhere to the specification for the function 'ExpWaitForKeyedEvent'. E:\3rdRepo\ReactOS_Fork4\ntoskrnl\ex\keyedevt.c(527): warning C6387: 'Timeout' could be '0': this does not adhere to the specification for the function 'ExpReleaseKeyedEvent'. JIRA issue: None. Proposed changes Timeout parameter of those two functions should be optional.
This commit is contained in:
parent
9f784c65a2
commit
1f4ef448de
1 changed files with 2 additions and 2 deletions
|
@ -114,7 +114,7 @@ ExpReleaseOrWaitForKeyedEvent(
|
||||||
_Inout_ PEX_KEYED_EVENT KeyedEvent,
|
_Inout_ PEX_KEYED_EVENT KeyedEvent,
|
||||||
_In_ PVOID KeyedWaitValue,
|
_In_ PVOID KeyedWaitValue,
|
||||||
_In_ BOOLEAN Alertable,
|
_In_ BOOLEAN Alertable,
|
||||||
_In_ PLARGE_INTEGER Timeout,
|
_In_opt_ PLARGE_INTEGER Timeout,
|
||||||
_In_ BOOLEAN Release)
|
_In_ BOOLEAN Release)
|
||||||
{
|
{
|
||||||
PETHREAD Thread, CurrentThread;
|
PETHREAD Thread, CurrentThread;
|
||||||
|
@ -242,7 +242,7 @@ ExpWaitForKeyedEvent(
|
||||||
_Inout_ PEX_KEYED_EVENT KeyedEvent,
|
_Inout_ PEX_KEYED_EVENT KeyedEvent,
|
||||||
_In_ PVOID KeyedWaitValue,
|
_In_ PVOID KeyedWaitValue,
|
||||||
_In_ BOOLEAN Alertable,
|
_In_ BOOLEAN Alertable,
|
||||||
_In_ PLARGE_INTEGER Timeout)
|
_In_opt_ PLARGE_INTEGER Timeout)
|
||||||
{
|
{
|
||||||
/* Call the generic internal function */
|
/* Call the generic internal function */
|
||||||
return ExpReleaseOrWaitForKeyedEvent(KeyedEvent,
|
return ExpReleaseOrWaitForKeyedEvent(KeyedEvent,
|
||||||
|
|
Loading…
Reference in a new issue