am c6d96bb8: Merge "Move system_properties over to C++."

* commit 'c6d96bb8673a4f44d84f3beaa5ed4fec1484f0ad':
  Move system_properties over to C++.
This commit is contained in:
Narayan Kamath 2014-02-24 14:25:31 +00:00 committed by Android Git Automerger
commit e425856b1a
3 changed files with 477 additions and 420 deletions

View File

@ -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 \

View File

@ -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