diff options
author | Fritz Elfert <felfert@to.com> | 2003-02-05 07:59:09 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 2003-02-05 07:59:09 +0000 |
commit | f0c047e1f40ee2214fe1f73dc3bdc6b0f6de5d85 (patch) | |
tree | 166bf2df5ca4fc40904af30a56a0de88683baf8d /lib/psitime.cc | |
parent | 27ba222abbf3137eef49e31ac521de01d39c8088 (diff) | |
download | plptools-f0c047e1f40ee2214fe1f73dc3bdc6b0f6de5d85.tar.gz plptools-f0c047e1f40ee2214fe1f73dc3bdc6b0f6de5d85.tar.bz2 plptools-f0c047e1f40ee2214fe1f73dc3bdc6b0f6de5d85.zip |
- Changes for compiling with gcc 3.2
Diffstat (limited to 'lib/psitime.cc')
-rw-r--r-- | lib/psitime.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/psitime.cc b/lib/psitime.cc index 07b2d5a..61a74fa 100644 --- a/lib/psitime.cc +++ b/lib/psitime.cc @@ -21,11 +21,14 @@ * */ #include "psitime.h" +#include "plp_inttypes.h" + #include <stdlib.h> -#include <plp_inttypes.h> #define OnePM 3600 // 13:00 offset for SIBO +using namespace std; + PsiTime::PsiTime(void) { ptzValid = false; tryPsiZone(); @@ -63,7 +66,7 @@ PsiTime::PsiTime(const u_int32_t _ptvHi, const u_int32_t _ptvLo) { psi2unix(); } -PsiTime::PsiTime(struct timeval *_utv, struct timezone *_utz = 0L) { +PsiTime::PsiTime(struct timeval *_utv, struct timezone *_utz) { if (_utv != 0L) utv = *_utv; if (_utz != 0L) |