OSDN Git Service

Move system_properties over to C++.
authorNarayan Kamath <narayan@google.com>
Wed, 19 Feb 2014 17:59:05 +0000 (17:59 +0000)
committerNarayan Kamath <narayan@google.com>
Mon, 24 Feb 2014 10:45:35 +0000 (10:45 +0000)
commitc9ae21a5c3b2e1baafe50f752e2e07e343d39530
tree80d3c9ac31b5c5662b70aacd9c03d9d798ceafae
parent3572fbc8cd01d90a7f0c65a15c79abf1ece144ef
Move system_properties over to C++.

This change constitutes the minimum amount of
work required to move the code over to C++, address
compiler warnings, and to make it const correct and
idiomatic (within the constraints of being called
from C code).

bug: 13058886

Change-Id: Ic78cf91b7c8e8f07b4ab0781333a9e243763298c
libc/Android.mk
libc/bionic/system_properties.cpp [moved from libc/bionic/system_properties.c with 58% similarity]
libc/include/sys/_system_properties.h