]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
More trivial cleanups.
authorAndre Noll <maan@systemlinux.org>
Sat, 9 Feb 2008 13:17:21 +0000 (14:17 +0100)
committerAndre Noll <maan@systemlinux.org>
Sat, 9 Feb 2008 13:17:21 +0000 (14:17 +0100)
sha1.c
stdin.c
stdout.c

diff --git a/sha1.c b/sha1.c
index 449400c1beceffc39ab875d888c1fa6e711503c2..af4dbc654c70008f3d89c7ddf093ffc8d18694ee 100644 (file)
--- a/sha1.c
+++ b/sha1.c
@@ -1,8 +1,14 @@
-#include "para.h"
-#include <openssl/sha.h>
+/*
+ * Copyright (C) 2007-2008 Andre Noll <maan@systemlinux.org>
+ *
+ * Licensed under the GPL v2. For licencing details see COPYING.
+ */
 
 /** \file sha1.c Secure Hash Algorithm, provided by openssl. */
 
+#include "para.h"
+#include <openssl/sha.h>
+
 /**
  * Compute the sha1 hash.
  *
diff --git a/stdin.c b/stdin.c
index afbe35f8eaf2f74a7e04437e5c60de1a2a6a9b1b..4e567008dd1f2f7a3d98cf691a6ce04c2e5a7de1 100644 (file)
--- a/stdin.c
+++ b/stdin.c
@@ -1,10 +1,10 @@
 /*
- * Copyright (C) 2006 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2006-2008 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
 
-/** \file stdin.c functions that deal with reading from stdin */
+/** \file stdin.c Functions that deal with reading from stdin. */
 
 #include <dirent.h> /* readdir() */
 #include <assert.h>
 #include "stdin.h"
 
 /**
- * the pre_select function of the stdin task
+ * The pre_select function of the stdin task.
  *
- * \param s the scheduler this task was registered to
- * \param t the task structure of the stdin task
+ * \param s The scheduler this task was registered to.
+ * \param t The task structure of the stdin task.
  *
  * This function is always successful. If there is space left in the
  * buffer of the stdin task, it adds \p STDIN_FILENO to the read fd set
@@ -46,10 +46,10 @@ static void stdin_default_event_handler(struct task *t)
 }
 
 /**
- * the post select function of the stdin task
+ * The post select function of the stdin task.
  *
- * \param s the scheduler this task was registered to
- * \param t the task structure of the stdin task
+ * \param s The scheduler this task was registered to.
+ * \param t The task structure of the stdin task.
  *
  * This function checks if \p STDIN_FILENO was included by in the read fd set
  * of \a s during the previous pre_select call.  If yes, and \p STDIN_FILENO
index 2215f998abb6e1fb6e8a508df3b1ee8433fb795a..a192f2beb44b4c49bd1a9c7affb5167a82013158 100644 (file)
--- a/stdout.c
+++ b/stdout.c
@@ -1,10 +1,10 @@
 /*
- * Copyright (C) 2006 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2006-2008 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
 
-/** \file stdout.c functions that deal with writing to stdout */
+/** \file stdout.c Functions that deal with writing to stdout. */
 
 #include <dirent.h> /* readdir() */
 #include <assert.h>
 #include "stdout.h"
 
 /**
- * the pre_select function of the stdout task
+ * The pre_select function of the stdout task.
  *
- * \param s the scheduler this task was registered to
- * \param t the task structure of the stdout task
+ * \param s The scheduler this task was registered to.
+ * \param t The task structure of the stdout task.
  *
  * This function is always successful. If there is data available in the input
  * buffer, it adds \p STDOUT_FILENO to the write fd set of \a s.
@@ -45,10 +45,10 @@ static void stdout_pre_select(struct sched *s, struct task *t)
 }
 
 /**
- * the post select function of the stdout task
+ * The post select function of the stdout task.
  *
- * \param s the scheduler this task was registered to
- * \param t the task structure of the stdout task
+ * \param s The scheduler this task was registered to.
+ * \param t The task structure of the stdout task.
  *
  * This function checks if \p STDOUT_FILENO was included by in the write fd set
  * of \a s during the previous pre_select call.  If yes, and \p STDOUT_FILENO
@@ -85,9 +85,9 @@ static void stdout_default_event_handler(struct task *t)
 }
 
 /**
- * initialize a stdout task structure with default values
+ * Initialize a stdout task structure with default values.
  *
- * \param sot the stdout task structure
+ * \param sot The stdout task structure.
  *
  * This fills in the pre/post select function poinzters of the task structure
  * given by \a sot. It also sets up a default error handler which unregisters