Includes, clean-up

We are trying to avoid including stuff whenever possible.
Forward declarations are prefered in most cases, just in case...
This commit is contained in:
Artur Meski
2018-09-22 20:05:35 +01:00
parent d4ac425963
commit a36ed9651f
15 changed files with 103 additions and 153 deletions

View File

@@ -28,6 +28,8 @@
#include <unistd.h>
#include "macro.hh"
using namespace std;
typedef long long int64;
static inline double cpuTime(void)
@@ -52,7 +54,7 @@ static inline int memReadStat(void)
for (int field = 0; field >= 0; --field) {
if (fscanf(in, "%d", &value) == EOF) {
FERROR("EOF");
FERROR("EOF")
}
}