Skip to content

Commit 468e4ee

Browse files
committed
Converting to C++.
1 parent f477be3 commit 468e4ee

File tree

5 files changed

+2
-17
lines changed

5 files changed

+2
-17
lines changed

src/format-bip39.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77

88
#pragma once
99

10-
#include <stdbool.h>
11-
#include <stdlib.h>
12-
1310
#include "format.hpp"
1411

1512
class FormatBIP39 : public Format {

src/format-slip39.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77

88
#include "format-slip39.hpp"
99

10-
#include <stdlib.h>
11-
#include <assert.h>
12-
#include <strings.h>
1310
#include "params.hpp"
1411
#include "utils.hpp"
1512

src/format-slip39.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
#pragma once
99

1010
#include <bc-slip39/bc-slip39.h>
11-
#include <stdbool.h>
12-
#include <stdlib.h>
13-
1411
#include <vector>
1512

1613
#include "format.hpp"

src/formats-all.hpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
// Licensed under the "BSD-2-Clause Plus Patent License"
66
//
77

8-
#ifndef FORMATS_ALL_H
9-
#define FORMATS_ALL_H
8+
#pragma once
109

1110
#include "format-base6.hpp"
1211
#include "format-base10.hpp"
@@ -18,5 +17,3 @@
1817
#include "format-ints.hpp"
1918
#include "format-random.hpp"
2019
#include "format-slip39.hpp"
21-
22-
#endif /* FORMATS_ALL_H */

src/params.hpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
// Licensed under the "BSD-2-Clause Plus Patent License"
66
//
77

8-
#ifndef PARAMS_HPP
9-
#define PARAMS_HPP
8+
#pragma once
109

1110
#include <stdlib.h>
1211
#include <stdint.h>
@@ -73,5 +72,3 @@ class Params {
7372
void validate_bip39_specific(struct argp_state* state);
7473
void validate_slip39_specific(struct argp_state* state);
7574
};
76-
77-
#endif /* PARAMS_HPP */

0 commit comments

Comments
 (0)