Page MenuHomePhabricator

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

Authored by Fabien on Sep 3 2019, 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.