[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [RFC PATCH 2/6] Fix parameter annotation for __FreeCapturedBuffer()
CapturedBuffer is optional, mark it so. Signed-off-by: Rafał Wojdyła <omeg@xxxxxxxxxxxxxxxxxxxxxx> --- src/xeniface/ioctls.c | 2 +- src/xeniface/ioctls.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xeniface/ioctls.c b/src/xeniface/ioctls.c index 9808adc..6298fef 100644 --- a/src/xeniface/ioctls.c +++ b/src/xeniface/ioctls.c @@ -79,7 +79,7 @@ __CaptureUserBuffer( VOID __FreeCapturedBuffer( - __in PVOID CapturedBuffer + __in_opt PVOID CapturedBuffer ) { if (CapturedBuffer != NULL) { diff --git a/src/xeniface/ioctls.h b/src/xeniface/ioctls.h index 4c932ed..c89f173 100644 --- a/src/xeniface/ioctls.h +++ b/src/xeniface/ioctls.h @@ -109,7 +109,7 @@ __CaptureUserBuffer( VOID __FreeCapturedBuffer( - __in PVOID CapturedBuffer + __in_opt PVOID CapturedBuffer ); NTSTATUS -- 2.40.1.windows.1
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |