]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
stdout.[ch]: Make two functions static.
authorAndre Noll <maan@systemlinux.org>
Sun, 23 Sep 2007 18:29:56 +0000 (20:29 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 23 Sep 2007 18:29:56 +0000 (20:29 +0200)
stdout.c
stdout.h

index c616079139b2a41ace85e73aed7616257f0f550f..f39de1090c146acd8f10578b18d637e137a4379a 100644 (file)
--- a/stdout.c
+++ b/stdout.c
@@ -26,7 +26,7 @@
  * 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.
  */
  * 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.
  */
-void stdout_pre_select(struct sched *s, struct task *t)
+static void stdout_pre_select(struct sched *s, struct task *t)
 {
        struct stdout_task *sot = t->private_data;
 
 {
        struct stdout_task *sot = t->private_data;
 
@@ -55,7 +55,7 @@ void stdout_pre_select(struct sched *s, struct task *t)
  * appeears to be writable, the data loaded in the input buffer is written to
  * stdout.
  */
  * appeears to be writable, the data loaded in the input buffer is written to
  * stdout.
  */
-void stdout_post_select(struct sched *s, struct task *t)
+static void stdout_post_select(struct sched *s, struct task *t)
 {
        struct stdout_task *sot = t->private_data;
        ssize_t ret;
 {
        struct stdout_task *sot = t->private_data;
        ssize_t ret;
index 0d2ab2afb5672dc2969b2b8815cd83e1376bbfec..f69a024bcfa457de7dd7b54e79e532b9c108df75 100644 (file)
--- a/stdout.h
+++ b/stdout.h
@@ -24,6 +24,4 @@ struct stdout_task {
        int check_fd;
 };
 
        int check_fd;
 };
 
-void stdout_pre_select(struct sched *s, struct task *t);
-void stdout_post_select(struct sched *s, struct task *t);
 void stdout_set_defaults(struct stdout_task *sot);
 void stdout_set_defaults(struct stdout_task *sot);