summaryrefslogtreecommitdiffstats
path: root/avahi-common/timeval.h
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-common/timeval.h')
-rw-r--r--avahi-common/timeval.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/avahi-common/timeval.h b/avahi-common/timeval.h
index 8bdb073..a441c08 100644
--- a/avahi-common/timeval.h
+++ b/avahi-common/timeval.h
@@ -34,10 +34,10 @@ AVAHI_C_DECL_BEGIN
/** A numeric data type for storing microsecond values. (signed 64bit integer) */
typedef int64_t AvahiUsec;
-/** Compare two timeval structures and return a ngeative value when a < b, 0 when a == b and a positive value otherwise */
+/** Compare two timeval structures and return a negative value when a < b, 0 when a == b and a positive value otherwise */
int avahi_timeval_compare(const struct timeval *a, const struct timeval *b);
-/** Calculate the difference between to timeval structures as microsecond value */
+/** Calculate the difference between two timeval structures as microsecond value */
AvahiUsec avahi_timeval_diff(const struct timeval *a, const struct timeval *b);
/** Add a number of microseconds to the specified timeval structure and return it. *a is modified. */