HomePhabricator

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

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

Description

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

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.

Reviewers: #bitcoin_abc, deadalnix, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Differential Revision: https://reviews.bitcoinabc.org/D3984

Details

Committed
FabienSun, Sep 8, 09:59
Pushed
FabienSun, Sep 8, 09:59
Reviewer
Restricted Project
Differential Revision
D3984: [LINTER] Enforce using C++ style for void parameters
Parents
rABCa62f4554ef1b: Bugfix: NSIS: Exclude Makefile* from docs
Branches
Unknown
Tags
Unknown