am c6d96bb8
: Merge "Move system_properties over to C++."
* commit 'c6d96bb8673a4f44d84f3beaa5ed4fec1484f0ad': Move system_properties over to C++.
This commit is contained in:
commit
e425856b1a
@ -79,7 +79,6 @@ libc_common_src_files := \
|
|||||||
bionic/strntoimax.c \
|
bionic/strntoimax.c \
|
||||||
bionic/strntoumax.c \
|
bionic/strntoumax.c \
|
||||||
bionic/strtotimeval.c \
|
bionic/strtotimeval.c \
|
||||||
bionic/system_properties.c \
|
|
||||||
bionic/system_properties_compat.c \
|
bionic/system_properties_compat.c \
|
||||||
bionic/tcgetpgrp.c \
|
bionic/tcgetpgrp.c \
|
||||||
bionic/tcsetpgrp.c \
|
bionic/tcsetpgrp.c \
|
||||||
@ -223,6 +222,7 @@ libc_bionic_src_files := \
|
|||||||
bionic/stubs.cpp \
|
bionic/stubs.cpp \
|
||||||
bionic/symlink.cpp \
|
bionic/symlink.cpp \
|
||||||
bionic/sysconf.cpp \
|
bionic/sysconf.cpp \
|
||||||
|
bionic/system_properties.cpp \
|
||||||
bionic/sys_siglist.c \
|
bionic/sys_siglist.c \
|
||||||
bionic/sys_signame.c \
|
bionic/sys_signame.c \
|
||||||
bionic/tdestroy.cpp \
|
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 (*propfn)(const prop_info *pi, void *cookie),
|
||||||
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
|
__END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user