summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-08-06 11:53:01 +0000
committerLennart Poettering <lennart@poettering.net>2006-08-06 11:53:01 +0000
commitd66af491a574de4d5421c995bec5357fc1c04128 (patch)
treed4828edcf82a90a0c81356857a7ef2ced2019540
parentcfed812fb7b60f1c62a9a9b0619a0b7f11dcda1a (diff)
fix a few typos in doxygen comments
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1244 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
-rw-r--r--avahi-common/thread-watch.h2
-rw-r--r--avahi-common/timeval.h4
-rw-r--r--avahi-glib/glib-malloc.h2
-rw-r--r--avahi-glib/glib-watch.h2
4 files changed, 5 insertions, 5 deletions
diff --git a/avahi-common/thread-watch.h b/avahi-common/thread-watch.h
index 469ffe5..e603293 100644
--- a/avahi-common/thread-watch.h
+++ b/avahi-common/thread-watch.h
@@ -46,7 +46,7 @@ void avahi_threaded_poll_free(AvahiThreadedPoll *p);
* called. \since 0.6.4 */
const AvahiPoll* avahi_threaded_poll_get(AvahiThreadedPoll *p);
-/** Start the event loop helper thread. After the thread has startet
+/** Start the event loop helper thread. After the thread has started
* you must make sure to access the event loop object
* (AvahiThreadedPoll, AvahiPoll and all its associated objects)
* synchronized, i.e. with proper locking. You may want to use
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. */
diff --git a/avahi-glib/glib-malloc.h b/avahi-glib/glib-malloc.h
index 5982e08..675ccb5 100644
--- a/avahi-glib/glib-malloc.h
+++ b/avahi-glib/glib-malloc.h
@@ -32,7 +32,7 @@
AVAHI_C_DECL_BEGIN
/** Return a pointer to a memory allocator that uses GLib's g_malloc()
- and frinds. Th returned structure is statically allocated, and needs
+ and friends. The returned structure is statically allocated, and needs
not to be copied or freed. Pass this directly to avahi_set_allocator(). */
const AvahiAllocator * avahi_glib_allocator(void);
diff --git a/avahi-glib/glib-watch.h b/avahi-glib/glib-watch.h
index 895a686..0abc291 100644
--- a/avahi-glib/glib-watch.h
+++ b/avahi-glib/glib-watch.h
@@ -37,7 +37,7 @@ typedef struct AvahiGLibPoll AvahiGLibPoll;
/** Create a new GLib main loop adapter attached to the specified
context. If context is NULL, the default main loop context is
used. You can attach as many AvahiGLibPoll objects to the same context
- as you want. priority takes on of GLib's G_PRIORITY constants. */
+ as you want. priority takes one of GLib's G_PRIORITY constants. */
AvahiGLibPoll *avahi_glib_poll_new(GMainContext *context, gint priority);
/** Free GLib main loop adapter */