some more include file cleanup.

include cstdlib where functions like atoi() are used
remove unneeded include statements from headers
This commit is contained in:
Axel Kohlmeyer
2019-06-27 01:02:17 -04:00
parent f7507512b1
commit 17602b4c26
6 changed files with 6 additions and 2 deletions

View File

@ -15,6 +15,7 @@
Contributing author: Richard Berger and Axel Kohlmeyer (Temple U) Contributing author: Richard Berger and Axel Kohlmeyer (Temple U)
------------------------------------------------------------------------- */ ------------------------------------------------------------------------- */
#include <cstdlib>
#include <Python.h> #include <Python.h>
#include "lmppython.h" #include "lmppython.h"
#include "force.h" #include "force.h"

View File

@ -3,7 +3,6 @@
#include "memory.h" #include "memory.h"
#include <cmath> #include <cmath>
#include <cstdlib>
#define maxelt 5 #define maxelt 5

View File

@ -12,7 +12,8 @@
------------------------------------------------------------------------- */ ------------------------------------------------------------------------- */
#include <mpi.h> #include <mpi.h>
#include <string.h> #include <cstring>
#include <cstdlib>
#include "compute_reduce_chunk.h" #include "compute_reduce_chunk.h"
#include "atom.h" #include "atom.h"
#include "update.h" #include "update.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 <cstdlib>
#include <cstring> #include <cstring>
#include "fix_vector.h" #include "fix_vector.h"
#include "update.h" #include "update.h"

View File

@ -13,6 +13,7 @@
#include <mpi.h> #include <mpi.h>
#include <cstring> #include <cstring>
#include <cstdlib>
#include <cctype> #include <cctype>
#include <map> #include <map>
#include <string> #include <string>

View File

@ -26,6 +26,7 @@
#include "region.h" #include "region.h"
#include "modify.h" #include "modify.h"
#include "compute.h" #include "compute.h"
#include "input.h"
#include "fix.h" #include "fix.h"
#include "fix_store.h" #include "fix_store.h"
#include "force.h" #include "force.h"