mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-10 04:30:00 +00:00
3add35fa2d
Note: the adbd makefile can't be upstreamed to debian, because there is already an open PR upstream: https://salsa.debian.org/android-tools-team/android-platform-tools/-/merge_requests/4/diffs Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
21 lines
412 B
Diff
21 lines
412 B
Diff
Description: Bring Clang's _Nonnull keyword to GCC
|
|
Author: Kai-Chung Yan
|
|
Forwarded: not-needed
|
|
--- a/system/core/adb/sysdeps.h
|
|
+++ b/system/core/adb/sysdeps.h
|
|
@@ -40,11 +40,12 @@
|
|
#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>
|