diff options
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) |