diff options
author | lloyd <[email protected]> | 2007-12-24 20:54:30 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2007-12-24 20:54:30 +0000 |
commit | 769e503fd8e4cf0f3072e04afffb61db5b48d777 (patch) | |
tree | b5d5c5e88bcfa0c3790571c82cde222bec1addb3 /modules/tm_unix | |
parent | cf2f188f4ad96abb26400e2dc62e2012826d10e7 (diff) |
Qualify (some) calls to functions in the global namespace using an
explicit :: (it is unfortunate that there is no good way to detect all
of such calls in an automated manner). Also use new-style casts in parts
of the zlib code.
Diffstat (limited to 'modules/tm_unix')
-rw-r--r-- | modules/tm_unix/tm_unix.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/tm_unix/tm_unix.cpp b/modules/tm_unix/tm_unix.cpp index cb9a8431f..51224a7d2 100644 --- a/modules/tm_unix/tm_unix.cpp +++ b/modules/tm_unix/tm_unix.cpp @@ -14,8 +14,8 @@ namespace Botan { *************************************************/ u64bit Unix_Timer::clock() const { - struct timeval tv; - gettimeofday(&tv, 0); + struct ::timeval tv; + ::gettimeofday(&tv, 0); return combine_timers(tv.tv_sec, tv.tv_usec, 1000000); } |