From 5af6af9644a43ffd736cc348435a0df49e60b89c Mon Sep 17 00:00:00 2001 From: Gurchetan Singh Date: Mon, 24 Nov 2025 15:14:07 -0800 Subject: [PATCH] android_stub: add missing definition Fixes: android_stub/sync_stub.cpp:18:11: error: use of undeclared identifier 'NULL' 18 | return NULL; | ^~~~ Reviewed-by: Yonggang Luo Reviewed-by: Yiwei Zhang Part-of: --- src/android_stub/sync_stub.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/android_stub/sync_stub.cpp b/src/android_stub/sync_stub.cpp index d76663c8304..12adb25f216 100644 --- a/src/android_stub/sync_stub.cpp +++ b/src/android_stub/sync_stub.cpp @@ -15,7 +15,7 @@ int sync_merge(const char *name, int fd, int fd2) struct sync_file_info* sync_file_info(int32_t fd) { - return NULL; + return nullptr; } void sync_file_info_free(struct sync_file_info* info)