X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=mood.c;h=d82d5a52c3b704cffd3657c9b6bad25121c5b4f2;hb=c41a04fb296e068ebfec78bba9678bf15daea896;hp=89ad80d956af3b7107f7ae4883619e689d3d2582;hpb=5bf80b0268b0afb3984aea74d41eddef34d50d03;p=paraslash.git diff --git a/mood.c b/mood.c index 89ad80d9..d82d5a52 100644 --- a/mood.c +++ b/mood.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007-2010 Andre Noll + * Copyright (C) 2007-2011 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -79,13 +79,13 @@ struct mood { static struct mood *current_mood; /** - * Rough approximation to sqrt. + * Rough approximation to sqrt. * - * \param x Integer of which to calculate the sqrt. + * \param x Integer of which to calculate the sqrt. * - * \return An integer res with res * res <= x. + * \return An integer res with res * res <= x. */ -static uint64_t int_sqrt(uint64_t x) +__a_const static uint64_t int_sqrt(uint64_t x) { uint64_t op, res, one = 1; op = x;