Fix some typos.
authorAndre Noll <maan@systemlinux.org>
Sat, 15 Dec 2007 15:49:47 +0000 (16:49 +0100)
committerAndre Noll <maan@systemlinux.org>
Sat, 15 Dec 2007 15:49:47 +0000 (16:49 +0100)
write.c
write.h
write_common.c

diff --git a/write.c b/write.c
index 512f8fcca23dce7e809ad19ed6c9784f45199993..3b87335f9adff268aee8f91c23cf565f1210b09e 100644 (file)
--- 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
  * 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)
 {
  */
 static void check_wav_pre_select(__a_unused struct sched *s, struct task *t)
 {
diff --git a/write.h b/write.h
index be5f7454532c77899af4957668d0c809bff96668..2eb4e3db8315ba1baedabbbfcefff369a6f3f058 100644 (file)
--- a/write.h
+++ b/write.h
@@ -10,7 +10,7 @@
 enum writer_enum {WRITER_ENUM};
 
 /**
 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 */
  */
 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
         *
         * 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 *);
        /**
         */
        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
        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.
         * the wn->written variable (which may be modified by the wng handling
         * functions). This function must return positive on success and
         * negative on errors.
index 0c028aaa1001c2c3195fce24c408adf6db68ac45..b35773f7ff7103fe002e8b23e3be7c128afb9cad 100644 (file)
@@ -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
  * \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)
 {
  * */
 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
  * \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.
  *
  * 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.
  *