]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
filter.c: Make config struct and filter_event_handler() static
authorAndre <maan@p133.(none)>
Fri, 5 Jan 2007 17:51:35 +0000 (18:51 +0100)
committerAndre <maan@p133.(none)>
Fri, 5 Jan 2007 17:51:35 +0000 (18:51 +0100)
filter.c

index 0d1c2e243b4e21c221a5abcd23a4f93fa1dce228..1bb20b31fb8b7ed421edf357d8b86195f89e96e3 100644 (file)
--- a/filter.c
+++ b/filter.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2005-2006 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2005-2007 Andre Noll <maan@systemlinux.org>
  *
  *     This program is free software; you can redistribute it and/or modify
  *     it under the terms of the GNU General Public License as published by
@@ -37,7 +37,7 @@ static struct filter_chain *fc = &filter_chain_struct;
 static struct stdout_task stdout_task_struct;
 static struct stdout_task *sot = &stdout_task_struct;
 
-struct filter_args_info conf;
+static struct filter_args_info conf;
 
 __printf_2_3 void para_log(int ll, const char* fmt,...)
 {
@@ -51,7 +51,7 @@ __printf_2_3 void para_log(int ll, const char* fmt,...)
        va_end(argp);
 }
 
-void filter_event_handler(struct task *t)
+static void filter_event_handler(struct task *t)
 {
        PARA_NOTICE_LOG("%s\n", PARA_STRERROR(-t->ret));
        unregister_task(t);
@@ -69,7 +69,6 @@ static void open_filters(void)
        }
 }
 
-
 static int init_filter_chain(void)
 {
        int i, filter_num;