summaryrefslogtreecommitdiffstats
path: root/init/builtins.cpp
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2017-09-04 10:55:09 +0900
committerJayant Chowdhary <jchowdhary@google.com>2017-10-03 17:45:17 +0000
commit0d047642ebde013ed44ec6386a20debd87e54eb9 (patch)
treeabbf0ae6cc0aff160b767a6be631c8dddbf352f9 /init/builtins.cpp
parent9c568d0fc0e290529180e3fc0452f0ac489e5053 (diff)
downloadsystem_core-0d047642ebde013ed44ec6386a20debd87e54eb9.tar.gz
system_core-0d047642ebde013ed44ec6386a20debd87e54eb9.tar.bz2
system_core-0d047642ebde013ed44ec6386a20debd87e54eb9.zip
Hide implementation details of log_time struct
In the future, the sizes of tv_sec and tv_nsec (or even the size of log_time struct itself) can change due to the 32-bit overflow expected to happen in the year 2138. In order to hide such implementation details to the clients of liblog, the two macros LOG_TIME_SEC and LOG_TIME_NSEC are introduced. Furthermore, vendors are provided with a simplified version of log_time.h without C++ APIs. In doing so, log_time.h no longer includes time.h. This breaks several modules that implicitly relied on the hidden dependency, which should be fixed. Bug: 37629934 Test: build with BOARD_VNDK_VERSION=current Merged-In: If213fc291395554fd8de5f5d1fb005ceaaa5ca57 Change-Id: I01b36078c1d8f3f44824be20ae769ba1465b6feb (cherry picked from commit 98c0d030c9a1ca7a94ebfe1d8db167973be504d3)
Diffstat (limited to 'init/builtins.cpp')
0 files changed, 0 insertions, 0 deletions