From 51dde9efab2d662cf5813d26d5c9aebce6e197e7 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 15 Dec 2007 16:49:47 +0100 Subject: [PATCH] Fix some typos. --- write.c | 2 +- write.h | 6 +++--- write_common.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/write.c b/write.c index 512f8fcc..3b87335f 100644 --- a/write.c +++ b/write.c @@ -59,7 +59,7 @@ static struct writer_node_group *wng; * Test if audio buffer contains a valid wave header. * * \return If not, return -E_NO_WAV_HEADER, otherwise, return zero. If - * there is less than WAV_HEADER_LEN bytes awailable, return one. + * there is less than WAV_HEADER_LEN bytes available, return one. */ static void check_wav_pre_select(__a_unused struct sched *s, struct task *t) { diff --git a/write.h b/write.h index be5f7454..2eb4e3db 100644 --- a/write.h +++ b/write.h @@ -10,7 +10,7 @@ enum writer_enum {WRITER_ENUM}; /** - * decbribes one running instance of a writer + * Describes one running instance of a writer. */ struct writer_node { /** points to the writer structure associated with this node */ @@ -55,7 +55,7 @@ struct writer { * * This function should perform any work necessary to write the incoming * stream. If To this aim, it may allocate its private data structure and store - * a pointer to that structure via the given writer_node paramenter. + * a pointer to that structure via the given writer_node parameter. */ int (*open)(struct writer_node *); /** @@ -70,7 +70,7 @@ struct writer { int (*pre_select)(struct sched *s, struct writer_node *wn); /** * Called from the post_select function of the wng task. It must keep - * track of the the number of bytes consumed from the wng's buffer via + * track of the number of bytes consumed from the wng's buffer via * the wn->written variable (which may be modified by the wng handling * functions). This function must return positive on success and * negative on errors. diff --git a/write_common.c b/write_common.c index 0c028aaa..b35773f7 100644 --- a/write_common.c +++ b/write_common.c @@ -78,7 +78,7 @@ static void wng_post_select(struct sched *s, struct task *t) * \return If at least one open function returned an error, all successful * writer notes get closed and this error value is returned. Upon success, a * task associated with \a g is registered to the scheduler and the function - * returnes a positive value. + * returns a positive value. * */ int wng_open(struct writer_node_group *g) { @@ -180,7 +180,7 @@ void init_supported_writers(void) * \param writer_num contains the number of the writer upon success * * This function checks whether \a wa starts with the name of a supported - * paraslash writer, optinally followed by a colon and any options for that + * paraslash writer, optionally followed by a colon and any options for that * writer. If a valid writer name was found and further are present, the * remaining part of \a wa is passed to that writer's config parser. * -- 2.39.5