Bring Clang's _Nonnull keyword to GCC
authorAndroid Tools Maintainers <android-tools-devel@lists.alioth.debian.org>
Fri, 20 Jan 2023 08:36:41 +0000 (08:36 +0000)
committerRoger Shimizu <rosh@debian.org>
Fri, 20 Jan 2023 08:36:41 +0000 (08:36 +0000)
Forwarded: not-needed

Gbp-Pq: Topic system/core
Gbp-Pq: Name Nonnull.patch

system/core/adb/sysdeps.h

index 0c5a6b4c1d20456f570b64d3d5fb73ee790a5a8d..a4827b8ab4defd422c8654f0bff607ae20e863f8 100644 (file)
 #include "sysdeps/network.h"
 #include "sysdeps/stat.h"
 
+#define _Nonnull
+#define _Nullable
+
 #ifdef _WIN32
 
 // Clang-only nullability specifiers
-#define _Nonnull
-#define _Nullable
 
 #include <ctype.h>
 #include <direct.h>