Fixed whitespace in all files (no tabs)
[senf.git] / Utils / MicroTime.cc
index 40e59c3..fe190e8 100644 (file)
@@ -1,8 +1,24 @@
 // $Id$
 //
-// Copyright (C) 2006 
+// Copyright (C) 2006 Stefan Bund <g0dil@senf.berlios.de>
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the
+// Free Software Foundation, Inc.,
+// 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
-// Definition of non-inline non-template functions
+/** \file
+    \brief MicroTime non-inline non-template implementation */
 
 #include "MicroTime.hh"
 //#include "MicroTime.ih"
 #define prefix_
 ///////////////////////////////cc.p////////////////////////////////////////
 
-prefix_ satcom::lib::MicroTime satcom::lib::now()
+prefix_ senf::MicroTime senf::now()
 {
     struct timeval tv;
     if (gettimeofday(&tv,0) < 0)
-       throw SystemException(errno);
+        throw SystemException(errno);
     return 1000000*MicroTime(tv.tv_sec) + tv.tv_usec;
 }
 
@@ -34,4 +50,8 @@ prefix_ satcom::lib::MicroTime satcom::lib::now()
 \f
 // Local Variables:
 // mode: c++
+// fill-column: 100
+// c-file-style: "senf"
+// indent-tabs-mode: nil
+// ispell-local-dictionary: "american"
 // End: