Skip to content

Commit ba97833

Browse files
authored
Merge pull request #2 from anderspkd/version-1.0.1
Version 1.0.1
2 parents 8c4d97c + 8bd85c2 commit ba97833

File tree

22 files changed

+85
-23
lines changed

22 files changed

+85
-23
lines changed

.github/workflows/Checks.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919
- name: Copyright
2020
run: ./scripts/check_copyright_headers.py
2121

22+
- name: Header Guards
23+
run: ./scripts/check_header_guards.py
24+
2225
- name: Style
2326
shell: bash
2427
run: |

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
cmake_minimum_required( VERSION 3.14 )
1818

19-
project( scl VERSION 1.0.0 DESCRIPTION "Secure Computation Library" )
19+
project( scl VERSION 1.0.1 DESCRIPTION "Secure Computation Library" )
2020

2121
if(NOT CMAKE_BUILD_TYPE)
2222
set(CMAKE_BUILD_TYPE Release)

include/scl/math.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@
2626
#include "scl/math/vec.h"
2727
#include "scl/math/z2k.h"
2828

29-
#endif /* _SCL_MATH_H */
29+
#endif // _SCL_MATH_H

include/scl/math/fields.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1919
*/
2020

21+
#ifndef _SCL_MATH_FIELDS_H
22+
#define _SCL_MATH_FIELDS_H
23+
2124
#include <cstdint>
2225
#include <string>
2326
#include <type_traits>
@@ -98,3 +101,5 @@ struct FieldSelector {
98101

99102
} // namespace details
100103
} // namespace scl
104+
105+
#endif // _SCL_MATH_FIELDS_H

include/scl/math/la.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,4 +281,4 @@ bool SolveLinearSystem(Vec<T>& x, const Mat<T>& A, const Vec<T>& b) {
281281
} // namespace details
282282
} // namespace scl
283283

284-
#endif /* _SCL_MATH_LA_H */
284+
#endif // _SCL_MATH_LA_H

include/scl/net/channel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,4 +230,4 @@ class Channel {
230230

231231
} // namespace scl
232232

233-
#endif /* _SCL_NET_CHANNEL_H */
233+
#endif // _SCL_NET_CHANNEL_H

include/scl/net/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,4 +143,4 @@ class NetworkConfig {
143143

144144
} // namespace scl
145145

146-
#endif /* _SCL_NET_CONFIG_H */
146+
#endif // _SCL_NET_CONFIG_H

include/scl/net/discovery/client.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,4 @@ class DiscoveryClient::ReceiveNetworkConfig
112112

113113
} // namespace scl
114114

115-
#endif /* _SCL_NET_DISCOVERY_CLIENT_H */
115+
#endif // _SCL_NET_DISCOVERY_CLIENT_H

include/scl/net/discovery/server.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,4 +143,4 @@ class DiscoveryServer::SendNetworkConfig
143143

144144
} // namespace scl
145145

146-
#endif /* _SCL_NET_DISCOVERY_SERVER_H */
146+
#endif // _SCL_NET_DISCOVERY_SERVER_H

include/scl/net/mem_channel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,4 @@ class InMemoryChannel final : public Channel {
8787

8888
} // namespace scl
8989

90-
#endif /* _SCL_NET_MEM_CHANNEL_H */
90+
#endif // _SCL_NET_MEM_CHANNEL_H

0 commit comments

Comments
 (0)