summaryrefslogtreecommitdiff
path: root/epan/nstime.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-06-23 20:04:31 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-06-23 20:04:31 +0000
commit926e31da26dfdadd557fc8fd113cd8145b22caed (patch)
tree3da9eaaa5bce8b4e0a1cffb3ee21b6c50e6544eb /epan/nstime.c
parent98a15b7e8005a362f7dba2ee02a5c738203993e1 (diff)
downloadwireshark-926e31da26dfdadd557fc8fd113cd8145b22caed.tar.gz
Don't call an argument "time", as this is a function.
svn path=/trunk/; revision=25538
Diffstat (limited to 'epan/nstime.c')
-rw-r--r--epan/nstime.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/nstime.c b/epan/nstime.c
index b913947bdf..99dc43d748 100644
--- a/epan/nstime.c
+++ b/epan/nstime.c
@@ -152,9 +152,9 @@ int nstime_cmp (nstime_t *a, const nstime_t *b )
* converts nstime to double, time base is milli seconds
*/
-double nstime_to_msec(const nstime_t *time)
+double nstime_to_msec(const nstime_t *nstime)
{
- return ((double)time->secs*1000 + (double)time->nsecs/1000000);
+ return ((double)nstime->secs*1000 + (double)nstime->nsecs/1000000);
}
/*
@@ -162,9 +162,9 @@ double nstime_to_msec(const nstime_t *time)
* converts nstime to double, time base is seconds
*/
-double nstime_to_sec(const nstime_t *time)
+double nstime_to_sec(const nstime_t *nstime)
{
- return ((double)time->secs + (double)time->nsecs/1000000000);
+ return ((double)nstime->secs + (double)nstime->nsecs/1000000000);
}
/*
@@ -172,9 +172,9 @@ double nstime_to_sec(const nstime_t *time)
* converts wtap_nstime to double, time base is seconds
*/
-double wtap_nstime_to_sec(const struct wtap_nstime *time)
+double wtap_nstime_to_sec(const struct wtap_nstime *nstime)
{
- return ((double)time->secs + (double)time->nsecs/1000000000);
+ return ((double)nstime->secs + (double)nstime->nsecs/1000000000);
}
/*