Skip to content

Commit ec9d31f

Browse files
authored
Merge pull request #2373 from barton2526/c-style
refactor: convert C-style (void) parameter lists to C++ style ()
2 parents 2c63b24 + d6195a9 commit ec9d31f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/init.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ std::string VersionMessage()
597597
* Ensure that Bitcoin is running in a usable environment with all
598598
* necessary library support.
599599
*/
600-
bool InitSanityCheck(void)
600+
bool InitSanityCheck()
601601
{
602602
// The below sanity check is still required for OpenSSL via key.cpp until Bitcoin's secp256k1 is ported over. For now we have
603603
// only ported the accelerated hashing.

src/key.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,6 @@ class CKey
182182
};
183183

184184
/** Check that required EC support is available at runtime */
185-
bool ECC_InitSanityCheck(void);
185+
bool ECC_InitSanityCheck();
186186

187187
#endif

src/qt/macnotificationhandler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class MacNotificationHandler : public QObject
1515
void showNotification(const QString &title, const QString &text);
1616

1717
/** check if OS can handle UserNotifications */
18-
bool hasUserNotificationCenterSupport(void);
18+
bool hasUserNotificationCenterSupport();
1919
static MacNotificationHandler *instance();
2020
};
2121

src/test/wallet_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ static void add_coin(int64_t nValue, int nAge = 6*24, bool fIsFromMe = false, in
4141
vCoins.push_back(output);
4242
}
4343

44-
static void empty_wallet(void)
44+
static void empty_wallet()
4545
{
4646
for(COutput& output : vCoins)
4747
delete output.tx;

0 commit comments

Comments
 (0)