Even more typo fixes.
authorAndre Noll <maan@systemlinux.org>
Fri, 28 Sep 2007 21:54:59 +0000 (23:54 +0200)
committerAndre Noll <maan@systemlinux.org>
Fri, 28 Sep 2007 21:54:59 +0000 (23:54 +0200)
afs_common.h
alsa_write.ggo
audiod.c
client_common.c
sched.h
send.h

index fd4c096914a69329700ca9f69d62f4669944e518..82b75d68d609db26773b50a7dd9d41e6353f5439 100644 (file)
@@ -60,7 +60,7 @@ char **(*get_audio_file_list)(unsigned int num);
  * the update hook
  *
  * The \a update_audio_file pointer is optional and need not be supplied. In this
  * the update hook
  *
  * The \a update_audio_file pointer is optional and need not be supplied. In this
- * case it is not neccessary to init this pointer from within init(). If
+ * case it is not necessary to init this pointer from within init(). If
  * \a update_audio_file is non-NULL, the function it points to gets called
  * whenever a new audio file was successfully loaded and is going to be
  * streamed by any of paraslash's senders. The full path of the audio file is
  * \a update_audio_file is non-NULL, the function it points to gets called
  * whenever a new audio file was successfully loaded and is going to be
  * streamed by any of paraslash's senders. The full path of the audio file is
index dea101735401c24a90c72aec1b583f4661d9182d..371ec89f259ebae40581c6031f6e3aba51dd23d3 100644 (file)
@@ -10,7 +10,7 @@ option "device" d
 
 option "channels" c
 #~~~~~~~~~~~~~~~~~~
 
 option "channels" c
 #~~~~~~~~~~~~~~~~~~
-"number of channels (only neccessary for raw
+"number of channels (only necessary for raw
 audio)"
 
        int typestr="num"
 audio)"
 
        int typestr="num"
@@ -20,7 +20,7 @@ audio)"
 option "samplerate" s
 #~~~~~~~~~~~~~~~~~~~~~
 
 option "samplerate" s
 #~~~~~~~~~~~~~~~~~~~~~
 
-"force given sample rate (only neccessary for
+"force given sample rate (only necessary for
 raw audio)"
 
        int typestr="num"
 raw audio)"
 
        int typestr="num"
index 1fdbea7563803b3648d18eba95441e3ebb99b18e..2a78332f2133c854937b4be239990cc6a3e1caf8 100644 (file)
--- a/audiod.c
+++ b/audiod.c
@@ -571,7 +571,7 @@ static void try_to_close_slot(int slot_num)
 
 /*
  * Check if any receivers/filters/writers need to be started and do so if
 
 /*
  * Check if any receivers/filters/writers need to be started and do so if
- * neccessary.  Since the pre_select function didn't have a chance yet to put
+ * necessary.  Since the pre_select function didn't have a chance yet to put
  * file descriptors into the fd sets given by s, make the upcoming select()
  * return immediately to avoid a long timeout in case we started something.
  */
  * file descriptors into the fd sets given by s, make the upcoming select()
  * return immediately to avoid a long timeout in case we started something.
  */
index 7c93b91722649a2a5386db892d444702025b07bd..9574c36f1f22cabbaa0f090fce9682dbd16ea3f7 100644 (file)
@@ -263,8 +263,8 @@ static ssize_t client_recv_buffer(struct private_client_data *pcd)
  * \param t pointer to the task struct for this command
  *
  * Depending on the current state of the connection and the status of the read
  * \param t pointer to the task struct for this command
  *
  * Depending on the current state of the connection and the status of the read
- * and write fd sets of \a s, this function performs the neccessary steps to
- * authenticate the connection, to send the commmand given by \a
+ * and write fd sets of \a s, this function performs the necessary steps to
+ * authenticate the connection, to send the command given by \a
  * t->private_data and to receive para_server's output, if any.
  *
  * \sa struct sched, struct task
  * t->private_data and to receive para_server's output, if any.
  *
  * \sa struct sched, struct task
diff --git a/sched.h b/sched.h
index e897c6dba9f3d21af72af8193e7b69f432385ef2..a6ea5b34ca8bf47b77765b0860dc19c06f3b813d 100644 (file)
--- a/sched.h
+++ b/sched.h
@@ -10,7 +10,7 @@
 /**
  * paraslash's scheduler
  *
 /**
  * paraslash's scheduler
  *
- * desinged with KISS in mind. It manages two lists of tasks.  The pre_select
+ * Designed with KISS in mind. It manages two lists of tasks.  The pre_select
  * list contains pointers to functions that are called before calling select()
  * from the main loop. Similarly, \a post_select_list is a list of function
  * pointers each of which is called after the select call. Tasks add hooks to
  * list contains pointers to functions that are called before calling select()
  * from the main loop. Similarly, \a post_select_list is a list of function
  * pointers each of which is called after the select call. Tasks add hooks to
@@ -39,7 +39,7 @@ struct sched {
  *
  * If one of these functions return a negative value via \a t->ret the
  * (optional) event_handler gets called (it may also be called in case another
  *
  * If one of these functions return a negative value via \a t->ret the
  * (optional) event_handler gets called (it may also be called in case another
- * event happend). In many cases the only possible event is an error or an eof
+ * event happened). In many cases the only possible event is an error or an eof
  * condition and the event handler simply unregisters the task from the
  * scheduler.
  *
  * condition and the event handler simply unregisters the task from the
  * scheduler.
  *
@@ -52,7 +52,7 @@ struct task {
         * the pre select hook of \a t
         *
         * Its purpose is to add file descriptors to the fd sets of the
         * the pre select hook of \a t
         *
         * Its purpose is to add file descriptors to the fd sets of the
-        * scheduler and to decrease the select timeout if neccessary.
+        * scheduler and to decrease the select timeout if necessary.
         */
        void (*pre_select)(struct sched *s, struct task *t);
        /**
         */
        void (*pre_select)(struct sched *s, struct task *t);
        /**
diff --git a/send.h b/send.h
index 76a35123c8b5b414b45eec935a525e8d906ae22a..8b4317e3850d79b611d147d71ba0101a6e72fadf 100644 (file)
--- a/send.h
+++ b/send.h
@@ -17,7 +17,7 @@ struct sender {
  * the init function of this sender
  *
  * It must fill in all function pointers of \a s as well as the \a client_cmds
  * the init function of this sender
  *
  * It must fill in all function pointers of \a s as well as the \a client_cmds
- * array, see below. It should also do all neccessary preparations to init
+ * array, see below. It should also do all necessary preparations to init
  * this sending facility, for example it could open a tcp port.
  */
        void (*init)(struct sender *s);
  * this sending facility, for example it could open a tcp port.
  */
        void (*init)(struct sender *s);
@@ -54,7 +54,7 @@ struct sender {
  * file descriptors to the \a rfds or the \a wfds set.
  *
  * If a file descriptor was added, \a max_fileno must be increased by
  * file descriptors to the \a rfds or the \a wfds set.
  *
  * If a file descriptor was added, \a max_fileno must be increased by
- * this function, if neccessary.
+ * this function, if necessary.
  *
  * \sa select(2)
 */
  *
  * \sa select(2)
 */
@@ -78,7 +78,7 @@ struct sender {
  * array of function pointers for the sender subcommands
  *
  * Each sender may implement any subset of the sender commands by filling in
  * array of function pointers for the sender subcommands
  *
  * Each sender may implement any subset of the sender commands by filling in
- * the aprropriate function pointer in the array. A \p NULL pointer means this
+ * the appropriate function pointer in the array. A \p NULL pointer means this
  * command is not implemented by this sender.
  */
        int (*client_cmds[NUM_SENDER_CMDS])(struct sender_command_data*);
  * command is not implemented by this sender.
  */
        int (*client_cmds[NUM_SENDER_CMDS])(struct sender_command_data*);
@@ -87,10 +87,10 @@ struct sender {
 /**
  * check a file descriptor for writability
  *
 /**
  * check a file descriptor for writability
  *
- * \param fd the file desctiptor
+ * \param fd the file descriptor
  *
  * \return positive if fd is ready for writing, zero if it isn't, negative if
  *
  * \return positive if fd is ready for writing, zero if it isn't, negative if
- * an error occured.
+ * an error occurred.
  */
 
 static inline int write_ok(int fd)
  */
 
 static inline int write_ok(int fd)