1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

use proper style for #include

This commit is contained in:
Steffen Vogel 2016-11-20 02:45:39 -05:00
parent 4bb0aa76c9
commit eda6c66f0e
4 changed files with 22 additions and 14 deletions

View file

@ -18,7 +18,8 @@
#include <villas/utils.h>
#include <villas/pool.h>
#include <villas/log.h>
#include <config.h>
#include "config.h"
static void usage()
{

View file

@ -12,8 +12,6 @@
#include <unistd.h>
#include <sched.h>
#include "config.h"
#include <villas/utils.h>
#include <villas/cfg.h>
#include <villas/path.h>
@ -23,9 +21,11 @@
#include <villas/kernel/rt.h>
#ifdef ENABLE_OPAL_ASYNC
#include "opal.h"
#include <villas/nodes/opal.h>
#endif
#include "config.h"
struct list paths; /**< List of paths */
struct list nodes; /**< List of nodes */

View file

@ -14,10 +14,11 @@
#include <math.h>
#include <string.h>
#include <villas/utils.h>
#include <villas/sample.h>
#include <villas/timing.h>
#include "config.h"
#include "utils.h"
#include "sample.h"
#include "timing.h"
#define CLOCKID CLOCK_REALTIME

View file

@ -13,14 +13,15 @@
#include <ctype.h>
#include <sys/stat.h>
#include <villas/cfg.h>
#include <villas/node.h>
#include <villas/utils.h>
#include <villas/hist.h>
#include <villas/timing.h>
#include <villas/pool.h>
#include <villas/kernel/rt.h>
#include "config.h"
#include "cfg.h"
#include "msg.h"
#include "node.h"
#include "utils.h"
#include "hist.h"
#include "timing.h"
#include "pool.h"
struct settings settings; /** <The global configuration */
struct list nodes;
@ -85,8 +86,13 @@ int main(int argc, char *argv[])
list_init(&nodes);
log_init();
info("Parsing configuration");
cfg_parse(argv[1], &config, &settings, &nodes, NULL);
info("Initialize real-time system");
rt_init(settings.affinity, settings.priority);
info("Initialize memory system");
memory_init();