* src/misc/random.hh: Add include guard.

This commit is contained in:
Alexandre Duret-Lutz 2004-12-08 08:28:51 +00:00
parent 541705a36a
commit 7917841fbe
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2004-12-08 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/misc/random.hh: Add include guard.
2004-12-07 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/misc/random.hh (nrand, bmrand, prand): New functions.

View file

@ -19,7 +19,10 @@
// Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
#include <cmath>
#ifndef SPOT_MISC_RANDOM_HH
# define SPOT_MISC_RANDOM_HH
# include <cmath>
namespace spot
{
@ -114,3 +117,5 @@ namespace spot
int prand(double p);
/// @}
}
#endif // SPOT_MISC_RANDOM_HH