Page MenuHomePhabricator

[LINTER] Enforce using C++ style for void parameters

Authored by Fabien on Tue, Sep 3, 10:28.



This is a follow up from D3725 and should avoid introducing regressions
(see D3953). This diff also fixes the leftovers from D3725.

Test Plan

Should return nothing.

arc lint --everything

Edit src/key.h to change to line:

void ECC_Start();


void ECC_Start(void);

Then run:

arc lint

and check the linter offers a fix.

Diff Detail

rABC Bitcoin ABC
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Fabien created this revision.Tue, Sep 3, 10:28
Herald added a reviewer: Restricted Project. · View Herald TranscriptTue, Sep 3, 10:28
jasonbcox accepted this revision.Fri, Sep 6, 16:02
This revision is now accepted and ready to land.Fri, Sep 6, 16:02
This revision was automatically updated to reflect the committed changes.