Skip to content

Commit db9c214

Browse files
authored
Merge pull request diffblue#1850 from tautschnig/include-cleanup
Use C++ headers instead of their C variants
2 parents 78fbf08 + 06f3e83 commit db9c214

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/goto-programs/interpreter.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Author: Daniel Kroening, [email protected]
1616
#include <iostream>
1717
#include <fstream>
1818
#include <algorithm>
19-
#include <string.h>
19+
#include <cstring>
2020

2121
#include <util/invariant.h>
2222
#include <util/std_types.h>

src/goto-programs/interpreter_evaluate.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ Author: Daniel Kroening, [email protected]
1313

1414
#include <iostream>
1515
#include <sstream>
16+
#include <cstring>
1617

1718
#include <util/ieee_float.h>
1819
#include <util/invariant.h>
1920
#include <util/fixedbv.h>
2021
#include <util/std_expr.h>
2122
#include <util/pointer_offset_size.h>
22-
#include <string.h>
2323

2424
/// Reads a memory address and loads it into the `dest` variable.
2525
/// Marks cell as `READ_BEFORE_WRITTEN` if cell has never been written.

src/solvers/prop/prop.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Author: Daniel Kroening, [email protected]
1212

1313
// decision procedure wrapper for boolean propositional logics
1414

15-
#include <stdint.h>
15+
#include <cstdint>
1616

1717
#include <util/message.h>
1818
#include <util/threeval.h>

0 commit comments

Comments
 (0)