From a237a2d7723b94df6cd3e91401ec28388de6f1a0 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 21 Oct 2007 23:02:47 +0000 Subject: namespace cleanup --- src/common/functions.cc | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'src/common/functions.cc') diff --git a/src/common/functions.cc b/src/common/functions.cc index 7152c91..7a01628 100644 --- a/src/common/functions.cc +++ b/src/common/functions.cc @@ -1,9 +1,14 @@ -/* functions.cc - * This file is part of the Osirion project - */ +/* + common/functions.cc + This file is part of the Osirion project and is distributed under + the terms of the GNU General Public License version 2 +*/ +// project headers #include "functions.h" +namespace common { + float min(float a, float b) { return (a < b ? a : b); } @@ -46,3 +51,5 @@ float sgnf(float value) return 1; } + +} // namespace common -- cgit v1.2.3