Switch to C++ versions of standard C headers

This commit is contained in:
Alex Chernyakhovsky
2023-07-30 18:10:08 -04:00
committed by Alex Chernyakhovsky
parent 19ad493dcb
commit cf542739cc
56 changed files with 206 additions and 192 deletions
+3 -4
View File
@@ -30,12 +30,11 @@
also delete it here.
*/
#include "src/statesync/completeterminal.h"
#include "src/util/fatal_assert.h"
#include <climits>
#include "src/protobufs/hostinput.pb.h"
#include <limits.h>
#include "src/statesync/completeterminal.h"
#include "src/util/fatal_assert.h"
using namespace std;
using namespace Parser;
+1 -1
View File
@@ -33,8 +33,8 @@
#ifndef COMPLETE_TERMINAL_HPP
#define COMPLETE_TERMINAL_HPP
#include <cstdint>
#include <list>
#include <stdint.h>
#include "src/terminal/parser.h"
#include "src/terminal/terminal.h"
+1 -1
View File
@@ -30,7 +30,7 @@
also delete it here.
*/
#include <assert.h>
#include <cassert>
#include <typeinfo>
#include "src/statesync/user.h"
+1 -1
View File
@@ -33,10 +33,10 @@
#ifndef USER_HPP
#define USER_HPP
#include <cassert>
#include <deque>
#include <list>
#include <string>
#include <assert.h>
#include "src/terminal/parseraction.h"