-/* Copyright (c) 2004-2014. The SimGrid Team.
+/* Copyright (c) 2004-2015. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
#ifndef _SURF_MAXMIN_H
#define _SURF_MAXMIN_H
-#include "portable.h"
+#include "src/portable.h"
#include "xbt/misc.h"
#include "xbt/asserts.h"
#include "surf/datatypes.h"
#include <math.h>
-//#include <float.h>
/** @addtogroup SURF_lmm
* to consrtaint and the communications to variables.
*/
-extern double sg_maxmin_precision;
-extern double sg_surf_precision;
+XBT_PUBLIC_DATA(double) sg_maxmin_precision;
+XBT_PUBLIC_DATA(double) sg_surf_precision;
static XBT_INLINE void double_update(double *variable, double value, double precision)
{