diff options
Diffstat (limited to 'init/property_service.h')
-rw-r--r-- | init/property_service.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/init/property_service.h b/init/property_service.h index b9d1bf6..b08c118 100644 --- a/init/property_service.h +++ b/init/property_service.h @@ -18,6 +18,7 @@ #define _INIT_PROPERTY_H #include <stdbool.h> +#include <sys/system_properties.h> extern void handle_property_set_fd(void); extern void property_init(void); @@ -25,7 +26,7 @@ extern void property_load_boot_defaults(void); extern void load_persist_props(void); extern void start_property_service(void); void get_property_workspace(int *fd, int *sz); -extern const char* property_get(const char *name); +extern int property_get(const char *name, char value[PROP_VALUE_MAX]); extern int property_set(const char *name, const char *value); extern int properties_inited(); int get_property_set_fd(void); |