From: Arnaud Giersch Date: Wed, 28 Mar 2018 20:21:27 +0000 (+0200) Subject: Function surf_get_clock() is already declared in surf.hpp. X-Git-Tag: v3.20~589 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/6b8a90e7f23ae2d1d0404f9d968b6396da19b9dc Function surf_get_clock() is already declared in surf.hpp. --- diff --git a/src/surf/surf_interface.hpp b/src/surf/surf_interface.hpp index 09547f7a45..eaff399839 100644 --- a/src/surf/surf_interface.hpp +++ b/src/surf/surf_interface.hpp @@ -61,9 +61,6 @@ static inline int double_equals(double value1, double value2, double precision) return (fabs(value1 - value2) < precision); } -extern "C" { -XBT_PUBLIC double surf_get_clock(); -} /** \ingroup SURF_simulation * \brief List of hosts that have just restarted and whose autorestart process should be restarted. */