From d103ad200699956bc1495fbbdd59aa824a842225 Mon Sep 17 00:00:00 2001 From: Android Tools Maintainers Date: Thu, 28 Jul 2022 17:01:55 +0100 Subject: [PATCH] Bring Clang's _Nonnull keyword to GCC Forwarded: not-needed Gbp-Pq: Topic system/core Gbp-Pq: Name Nonnull.patch --- system/core/adb/sysdeps.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/system/core/adb/sysdeps.h b/system/core/adb/sysdeps.h index 0c5a6b4c..a4827b8a 100644 --- a/system/core/adb/sysdeps.h +++ b/system/core/adb/sysdeps.h @@ -42,11 +42,12 @@ #include "sysdeps/network.h" #include "sysdeps/stat.h" +#define _Nonnull +#define _Nullable + #ifdef _WIN32 // Clang-only nullability specifiers -#define _Nonnull -#define _Nullable #include #include -- 2.30.2