Skip to content
Snippets Groups Projects
Commit 8324e28e authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Style improvements in some of the examples' includes. Include the local configuration first.

parent 5c5d1a15
Branches
Tags
No related merge requests found
......@@ -19,8 +19,13 @@
#ifndef SWIFT_CLOCKS_H
#define SWIFT_CLOCKS_H
/* Config parameters. */
#include "../config.h"
/* System includes. */
#include <sys/times.h>
#include <time.h>
/* Local includes */
#include "cycle.h"
/* Struct to record a time for the clocks functions. */
......
......@@ -16,12 +16,16 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
******************************************************************************/
#include "../config.h"
/* Some standard headers. */
#include <fenv.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
/* Local includes */
#include "swift.h"
/* Other schemes need to be added here if they are not vectorized, otherwise
......
......@@ -16,9 +16,13 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
******************************************************************************/
#include "../config.h"
/* Some standard headers. */
#include <stdlib.h>
#include <string.h>
/* Local headers */
#include "const.h"
#include "dimension.h"
#include "error.h"
......
......@@ -17,6 +17,9 @@
*
******************************************************************************/
/* Some standard headers. */
#include "../config.h"
/* Some standard headers. */
#include <stdlib.h>
......
......@@ -16,8 +16,12 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
******************************************************************************/
#include "../config.h"
/* Local headers. */
#include <string.h>
/* Local includes */
#include "error.h"
#include "riemann/riemann_trrs.h"
#include "tools.h"
......
......@@ -16,6 +16,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
******************************************************************************/
#include "../config.h"
/* Local headers. */
#include "hydro/Shadowswift/voronoi2d_algorithm.h"
#include "tools.h"
......
......@@ -16,8 +16,12 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
******************************************************************************/
#include "../config.h"
/* Some standard headers. */
#include <stdlib.h>
/* Local headers. */
#include "error.h"
#include "hydro/Shadowswift/voronoi3d_algorithm.h"
#include "part.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment