X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f4ed74ca6d4a744d2956a4f2906c897e1886cefd..ffb00aa229ee0ef4001607c66dbc8150a5d1bfa7:/include/simgrid/datatypes.h diff --git a/include/simgrid/datatypes.h b/include/simgrid/datatypes.h index 3a407d8832..35bf69e9c4 100644 --- a/include/simgrid/datatypes.h +++ b/include/simgrid/datatypes.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2014. The SimGrid Team. +/* Copyright (c) 2013-2015. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -7,7 +7,9 @@ #ifndef SIMGRID_DATATYPES_H_ #define SIMGRID_DATATYPES_H_ -typedef struct vm_params { +#include "simgrid/forward.h" + +struct vm_params { int ncpus; sg_size_t ramsize; int overcommit; @@ -24,6 +26,8 @@ typedef struct vm_params { /* set migration speed */ double mig_speed; -} s_vm_params_t, *vm_params_t; +}; +typedef struct vm_params s_vm_params_t; +typedef struct vm_params* vm_params_t; #endif /* SIMGRID_DATATYPES_H_ */