X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/242fde5e8077f8193db4df5f262a9672085c8d8a..ab4418d8efe3144dcb84ebc13e7798bbc4fd7098:/src/surf/plugins/energy.hpp diff --git a/src/surf/plugins/energy.hpp b/src/surf/plugins/energy.hpp index 7185b5726f..18af57fd29 100644 --- a/src/surf/plugins/energy.hpp +++ b/src/surf/plugins/energy.hpp @@ -1,18 +1,20 @@ -/* Copyright (c) 2014. The SimGrid Team. +/* Copyright (c) 2014-2015. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ +#include + #include "../cpu_interface.hpp" #include -#ifndef CALLBACK_HPP_ -#define CALLBACK_HPP_ +#ifndef ENERGY_CALLBACK_HPP_ +#define ENERGY_CALLBACK_HPP_ -class CpuEnergy; +class XBT_PRIVATE CpuEnergy; -extern std::map *surf_energy; +extern XBT_PRIVATE std::map *surf_energy; class CpuEnergy { public: @@ -32,4 +34,4 @@ public: Cpu *cpu; }; -#endif /* CALLBACK_HPP_ */ +#endif /* ENERGY_CALLBACK_HPP_ */