commit | 9e15e4a5a61f56b403ec22ec70739ea9642a28ce | [log] [tgz] |
---|---|---|
author | Ryan Prichard <rprichard@google.com> | Fri Jan 10 17:29:20 2025 -0800 |
committer | Ryan Prichard <rprichard@google.com> | Fri Jan 10 17:37:21 2025 -0800 |
tree | 8e5a75b5434c9548499a0ebb4f679dbea2931691 | |
parent | 95406bff734e6fa41714868539f636d770a9a780 [diff] |
Declare main in global NS, without extern "C" The C++ standard doesn't allow a linkage-specification for main, https://eel.is/c++draft/basic.start.main#3.sentence-5: "The main function shall not be declared with a linkage-specification ([dcl.link])." Bug: http://b/379133546 Test: m android.hardware.automotive.can-service \ android.hardware.macsec-service \ canhalconfigurator-aidl Change-Id: Ifbc36bc1e3e05e6a12153d371871f4168bbe4cf8