Merge "Move system_properties over to C++."

This commit is contained in:
Narayan Kamath 2014-02-24 10:47:54 +00:00 committed by Gerrit Code Review
commit c6d96bb867
3 changed files with 477 additions and 420 deletions

@ -79,7 +79,6 @@ libc_common_src_files := \
bionic/strntoimax.c \
bionic/strntoumax.c \
bionic/strtotimeval.c \
bionic/system_properties.c \
bionic/system_properties_compat.c \
bionic/tcgetpgrp.c \
bionic/tcsetpgrp.c \
@ -223,6 +222,7 @@ libc_bionic_src_files := \
bionic/stubs.cpp \
bionic/symlink.cpp \
bionic/sysconf.cpp \
bionic/system_properties.cpp \
bionic/sys_siglist.c \
bionic/sys_signame.c \
bionic/tdestroy.cpp \

File diff suppressed because it is too large Load Diff

@ -139,6 +139,14 @@ int __system_property_foreach_compat(
void (*propfn)(const prop_info *pi, void *cookie),
void *cookie);
/* Initialize the system properties area in read only mode.
* Should be done by all processes that need to read system
* properties.
*
* Returns 0 on success, -1 otherwise.
*/
int __system_properties_init();
__END_DECLS
#endif