some more IWYU tweaks

This commit is contained in:
Axel Kohlmeyer 2020-09-04 09:23:20 -04:00
parent d6ba95bed6
commit f541647d44
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
8 changed files with 7 additions and 9 deletions

View File

@ -14,7 +14,7 @@
#ifndef LMP_FIX_NH_H
#define LMP_FIX_NH_H
#include "fix.h"
#include "fix.h" // IWYU pragma: export
namespace LAMMPS_NS {

View File

@ -12,9 +12,11 @@
------------------------------------------------------------------------- */
#include "lammps.h"
#include <mpi.h>
#include "input.h"
#include <mpi.h>
#include <cstdlib>
#if defined(LAMMPS_TRAP_FPE) && defined(_GNU_SOURCE)
#include <fenv.h>
#endif

View File

@ -14,7 +14,7 @@
#ifndef LMP_MIN_H
#define LMP_MIN_H
#include "pointers.h"
#include "pointers.h" // IWYU pragma: export
namespace LAMMPS_NS {

View File

@ -14,7 +14,7 @@
#ifndef LMP_NEIGH_LIST_H
#define LMP_NEIGH_LIST_H
#include "pointers.h"
#include "pointers.h" // IWYU pragma: export
namespace LAMMPS_NS {

View File

@ -20,8 +20,6 @@
#include "memory.h"
#include "error.h"
#include <cstdlib>
using namespace LAMMPS_NS;
#define MAXLINE 1024 // max line length in dump file

View File

@ -3,7 +3,6 @@
*/
#include "msi2lmp.h"
#include "Forcefield.h"
#include <stdlib.h>

View File

@ -151,7 +151,6 @@
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
/* global variables */

View File

@ -34,7 +34,7 @@
* compatibility with the obsolete LAMMPS version written in Fortran 90.
*/
# include <stdio.h>
#include <stdio.h> /* IWYU pragma: export */
#define MSI2LMP_VERSION "v3.9.9 / 05 Nov 2018"