Merge "Fixup an out of date comment."

This commit is contained in:
Treehugger Robot 2018-07-24 23:09:57 +00:00 committed by Gerrit Code Review
commit 439bb1d048
2 changed files with 2 additions and 4 deletions

View file

@ -48,8 +48,6 @@ int __system_properties_init() {
return system_properties.Init(PROP_FILENAME) ? 0 : -1;
}
// This was previously for testing, but now that SystemProperties is its own testable class,
// there is never a reason to call this function.
__BIONIC_WEAK_FOR_NATIVE_BRIDGE
int __system_property_set_filename(const char*) {
return -1;

View file

@ -58,8 +58,8 @@ __BEGIN_DECLS
#define PROP_ERROR_SET_FAILED 0x0024
/*
** Map the property area from the specified filename. This
** method is for testing only.
** This was previously for testing, but now that SystemProperties is its own testable class,
** there is never a reason to call this function and its implementation simply returns -1.
*/
int __system_property_set_filename(const char* __filename);