mirror of
https://github.com/reactos/reactos
synced 2025-10-06 00:12:51 +02: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:
@@ -114,7 +114,7 @@ ExpReleaseOrWaitForKeyedEvent(
|
||||
_Inout_ PEX_KEYED_EVENT KeyedEvent,
|
||||
_In_ PVOID KeyedWaitValue,
|
||||
_In_ BOOLEAN Alertable,
|
||||
_In_ PLARGE_INTEGER Timeout,
|
||||
_In_opt_ PLARGE_INTEGER Timeout,
|
||||
_In_ BOOLEAN Release)
|
||||
{
|
||||
PETHREAD Thread, CurrentThread;
|
||||
@@ -242,7 +242,7 @@ ExpWaitForKeyedEvent(
|
||||
_Inout_ PEX_KEYED_EVENT KeyedEvent,
|
||||
_In_ PVOID KeyedWaitValue,
|
||||
_In_ BOOLEAN Alertable,
|
||||
_In_ PLARGE_INTEGER Timeout)
|
||||
_In_opt_ PLARGE_INTEGER Timeout)
|
||||
{
|
||||
/* Call the generic internal function */
|
||||
return ExpReleaseOrWaitForKeyedEvent(KeyedEvent,
|
||||
|
Reference in New Issue
Block a user