include <cstdio> explicitly in .cpp files, though

This commit is contained in:
Axel Kohlmeyer
2019-06-27 10:13:43 -04:00
parent 333bec0222
commit 48220b39b5
6 changed files with 6 additions and 4 deletions

View File

@ -12,6 +12,7 @@
------------------------------------------------------------------------- */ ------------------------------------------------------------------------- */
#include <mpi.h> #include <mpi.h>
#include <cstdio>
#include <cstring> #include <cstring>
#include <cctype> #include <cctype>
#include "angle_hybrid.h" #include "angle_hybrid.h"

View File

@ -12,6 +12,7 @@
------------------------------------------------------------------------- */ ------------------------------------------------------------------------- */
#include <mpi.h> #include <mpi.h>
#include <climits>
#include <cstdio> #include <cstdio>
#include <cstdlib> #include <cstdlib>
#include <cstring> #include <cstring>
@ -25,7 +26,6 @@
#include "modify.h" #include "modify.h"
#include "fix.h" #include "fix.h"
#include "compute.h" #include "compute.h"
#include "output.h"
#include "update.h" #include "update.h"
#include "domain.h" #include "domain.h"
#include "group.h" #include "group.h"

View File

@ -11,6 +11,8 @@
See the README file in the top-level LAMMPS directory. See the README file in the top-level LAMMPS directory.
------------------------------------------------------------------------- */ ------------------------------------------------------------------------- */
#include "lmptype.h"
#include <mpi.h>
#include <cmath> #include <cmath>
#include "atom.h" #include "atom.h"
#include "comm.h" #include "comm.h"

View File

@ -11,6 +11,7 @@
See the README file in the top-level LAMMPS directory. See the README file in the top-level LAMMPS directory.
------------------------------------------------------------------------- */ ------------------------------------------------------------------------- */
#include <cstdio>
#include <cstring> #include <cstring>
#include <cstdlib> #include <cstdlib>
#include "atom_vec.h" #include "atom_vec.h"

View File

@ -14,8 +14,7 @@
#ifndef LMP_ATOM_VEC_H #ifndef LMP_ATOM_VEC_H
#define LMP_ATOM_VEC_H #define LMP_ATOM_VEC_H
#include <cstdio> #include "pointers.h" // IWYU pragma: export
#include "pointers.h"
namespace LAMMPS_NS { namespace LAMMPS_NS {

View File

@ -112,7 +112,6 @@ class AtomVecBody : public AtomVec {
void grow_bonus(); void grow_bonus();
void copy_bonus(int, int); void copy_bonus(int, int);
//void check(int);
}; };
} }