Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9e15e4a5 authored by Ryan Prichard's avatar Ryan Prichard
Browse files

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
parent 95406bff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment