From 30203af8fdfaa01b2b6aa7fafaffc908b9b74034 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 9 Aug 2024 15:55:38 +0000 Subject: [PATCH] There's only one now. Change-Id: I4d535484b9e25fda304fb748b7796e513c832265 --- .../snapuserd/user-space-merge/snapuserd_server.cpp | 4 +--- init/init.cpp | 4 +--- init/property_service.cpp | 4 +--- init/property_service_test.cpp | 4 +--- libcutils/properties.cpp | 3 +-- libcutils/trace-dev.inc | 3 +-- 6 files changed, 6 insertions(+), 16 deletions(-) diff --git a/fs_mgr/libsnapshot/snapuserd/user-space-merge/snapuserd_server.cpp b/fs_mgr/libsnapshot/snapuserd/user-space-merge/snapuserd_server.cpp index c0af5c5b7..013df350b 100644 --- a/fs_mgr/libsnapshot/snapuserd/user-space-merge/snapuserd_server.cpp +++ b/fs_mgr/libsnapshot/snapuserd/user-space-merge/snapuserd_server.cpp @@ -22,6 +22,7 @@ #include #include #include +#include #include #include @@ -35,9 +36,6 @@ #include #include "snapuserd_server.h" -#define _REALLY_INCLUDE_SYS__SYSTEM_PROPERTIES_H_ -#include - namespace android { namespace snapshot { diff --git a/init/init.cpp b/init/init.cpp index 19e909fcb..4878660e1 100644 --- a/init/init.cpp +++ b/init/init.cpp @@ -26,13 +26,11 @@ #include #include #include +#include #include #include #include -#define _REALLY_INCLUDE_SYS__SYSTEM_PROPERTIES_H_ -#include - #include #include #include diff --git a/init/property_service.cpp b/init/property_service.cpp index 0d6eb1533..2f3ff5c62 100644 --- a/init/property_service.cpp +++ b/init/property_service.cpp @@ -31,14 +31,12 @@ #include #include #include +#include #include #include #include #include -#define _REALLY_INCLUDE_SYS__SYSTEM_PROPERTIES_H_ -#include - #include #include #include diff --git a/init/property_service_test.cpp b/init/property_service_test.cpp index 5f34cc4da..386c36867 100644 --- a/init/property_service_test.cpp +++ b/init/property_service_test.cpp @@ -16,11 +16,9 @@ #include #include +#include #include -#define _REALLY_INCLUDE_SYS__SYSTEM_PROPERTIES_H_ -#include - #include #include #include diff --git a/libcutils/properties.cpp b/libcutils/properties.cpp index 03f04961c..d3a2b50ab 100644 --- a/libcutils/properties.cpp +++ b/libcutils/properties.cpp @@ -93,8 +93,7 @@ int property_get(const char* key, char* value, const char* default_value) { #if __has_include() -#define _REALLY_INCLUDE_SYS__SYSTEM_PROPERTIES_H_ -#include +#include struct callback_data { void (*callback)(const char* name, const char* value, void* cookie); diff --git a/libcutils/trace-dev.inc b/libcutils/trace-dev.inc index 3bc6dc343..c911b4f82 100644 --- a/libcutils/trace-dev.inc +++ b/libcutils/trace-dev.inc @@ -36,8 +36,7 @@ #include #if defined(__BIONIC__) -#define _REALLY_INCLUDE_SYS__SYSTEM_PROPERTIES_H_ -#include +#include #endif /**