aboutsummaryrefslogtreecommitdiffstats
path: root/modules/tm_unix
diff options
context:
space:
mode:
authorlloyd <[email protected]>2007-12-24 20:54:30 +0000
committerlloyd <[email protected]>2007-12-24 20:54:30 +0000
commit769e503fd8e4cf0f3072e04afffb61db5b48d777 (patch)
treeb5d5c5e88bcfa0c3790571c82cde222bec1addb3 /modules/tm_unix
parentcf2f188f4ad96abb26400e2dc62e2012826d10e7 (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.cpp4
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);
}