From 030ef185809d5954b0a4bbb1702a963c79306315 Mon Sep 17 00:00:00 2001 From: Tom Cherry Date: Thu, 18 Apr 2019 14:18:36 -0700 Subject: [PATCH] init: small header clean up Remove an unimplemented function from the header and clean up some slight syntax mistakes. Test: build Change-Id: Ia82c6aee24fa0889a7595aabc564bef970a0863b --- init/property_service.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/init/property_service.h b/init/property_service.h index 85e7bc0ae..207c03bb9 100644 --- a/init/property_service.h +++ b/init/property_service.h @@ -14,8 +14,7 @@ * limitations under the License. */ -#ifndef _INIT_PROPERTY_H -#define _INIT_PROPERTY_H +#pragma once #include @@ -35,13 +34,10 @@ uint32_t HandlePropertySet(const std::string& name, const std::string& value, extern bool PropertyChildReap(pid_t pid); -void property_init(void); -void property_load_boot_defaults(bool); -void load_persist_props(void); -void load_system_props(void); +void property_init(); +void property_load_boot_defaults(bool load_debug_prop); +void load_persist_props(); void StartPropertyService(Epoll* epoll); } // namespace init } // namespace android - -#endif /* _INIT_PROPERTY_H */