]> www.ginac.de Git - ginac.git/blobdiff - ginac/utils.cpp
- put everything in "GiNaC" namespace
[ginac.git] / ginac / utils.cpp
index 15f4cc57bc47923e93e32536c182aa57ae41f255..446377b219ecbd7c4d7d6c6b14ff3f0af82cf552 100644 (file)
@@ -1,7 +1,8 @@
 /** @file utils.cpp
  *
- *  Implementation of several small and furry utilities.
- *
+ *  Implementation of several small and furry utilities. */
+
+/*
  *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
@@ -21,6 +22,8 @@
 
 #include "utils.h"
 
+namespace GiNaC {
+
 unsigned log2(unsigned n)
 {
     unsigned k;
@@ -112,6 +115,4 @@ int compare_pointers(void const * a, void const * b)
 // private
 // none
 
-
-
-
+} // namespace GiNaC