faubackup2/src/time range.cpp,1.2,1.3 timestamp.cpp,1.2,1.3
Martin Waitz <[email protected]> Tue, 14 Jun 2005 20:23:38 +0000
| Newsgroups | gmane.comp.sysutils.backup.faubackup.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/faubackup/faubackup2/src/time
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21140/src/time
Modified Files:
range.cpp timestamp.cpp
Log Message:
cleanup include files.
use #include "foo" for our own headers
use #include <bar> for system headers
the header declaring the api for the current file is included first
to make sure that the header file is self-contained
all other headers are sorted: <sys/> is first, then <netinet/>
and other subdirectory includes, then standard C and C++ headers.
internal headers come last.
Index: range.cpp
===================================================================
RCS file: /cvsroot/faubackup/faubackup2/src/time/range.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** range.cpp 8 Jun 2005 19:29:05 -0000 1.2
--- range.cpp 14 Jun 2005 20:23:36 -0000 1.3
***************
*** 3,6 ****
--- 3,7 ----
#include "time/range.hpp"
+
namespace faubackup
{
Index: timestamp.cpp
===================================================================
RCS file: /cvsroot/faubackup/faubackup2/src/time/timestamp.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** timestamp.cpp 8 Jun 2005 19:29:05 -0000 1.2
--- timestamp.cpp 14 Jun 2005 20:23:36 -0000 1.3
***************
*** 2,11 ****
#include "time/timestamp.hpp"
! #include "time/range.hpp"
#include <iostream>
! #include <common/output_handling.hpp>
! #include <common/common.hpp>
#include "common/system_calls.hpp"
#include "regexp/regexp.hpp"
--- 2,13 ----
#include "time/timestamp.hpp"
!
#include <iostream>
!
! #include "common/output_handling.hpp"
! #include "common/common.hpp"
#include "common/system_calls.hpp"
#include "regexp/regexp.hpp"
+ #include "time/range.hpp"
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click