HomePhabricator

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

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

Provenance
FabienAuthored on Sep 3 2019, 10:13
FabienPushed on Sep 9 2019, 06:16
Reviewer
Restricted Project
Differential Revision
D3984: [LINTER] Enforce using C++ style for void parameters
Parents
rSTAGINGa62f4554ef1b: Bugfix: NSIS: Exclude Makefile* from docs
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/11156