[PATCH] include: Add more sal.h macros

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Fri Jan 15 01:22:17 CST 2021


Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
 include/sal.h | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/include/sal.h b/include/sal.h
index ca8b824f1bf..1a8df2cd3a9 100644
--- a/include/sal.h
+++ b/include/sal.h
@@ -22,7 +22,9 @@
 
 #define _Always_(exp)
 
-#define _At_
+#define _Analysis_noreturn_
+
+#define _At_(a, b)
 #define _At_buffer_(a, b, c, d)
 
 #define _Check_return_
@@ -106,6 +108,8 @@
 #define _Inout_z_cap_(count)
 #define _Inout_z_cap_c_(count)
 
+#define _Must_inspect_result_
+
 #define _Null_terminated_
 
 #define __out
@@ -168,6 +172,8 @@
 #define _Out_z_cap_post_count_(count1, count2)
 
 #define _Outptr_opt_
+#define _Outptr_opt_result_buffer_(count)
+#define _Outptr_opt_result_maybenull_
 #define _Outptr_result_buffer_(count)
 #define _Outptr_result_buffer_maybenull_(count)
 #define _Outptr_result_maybenull_
-- 
2.29.2




More information about the wine-devel mailing list