Page MenuHomePhabricator

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

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

Details

Summary

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();

to:

void ECC_Start(void);

Then run:

arc lint

and check the linter offers a fix.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
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.