lkml.org 
[lkml]   [2006]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[-mm patch] kernel/synchro-test.c: make 5 functions static
On Sat, Jan 07, 2006 at 05:22:21AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.15-mm1:
>...
> +mutex-subsystem-synchro-test-module.patch
>...
> mutex stuff
>...

This patch makes fives needlessly global functions static.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

kernel/synchro-test.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

--- linux-2.6.15-mm2-full/kernel/synchro-test.c.old 2006-01-07 17:26:30.000000000 +0100
+++ linux-2.6.15-mm2-full/kernel/synchro-test.c 2006-01-07 17:27:11.000000000 +0100
@@ -221,7 +221,7 @@
schedule();
}

-int mutexer(void *arg)
+static int mutexer(void *arg)
{
unsigned int N = (unsigned long) arg;

@@ -243,7 +243,7 @@
complete_and_exit(&mx_comp[N], 0);
}

-int semaphorer(void *arg)
+static int semaphorer(void *arg)
{
unsigned int N = (unsigned long) arg;

@@ -265,7 +265,7 @@
complete_and_exit(&sm_comp[N], 0);
}

-int reader(void *arg)
+static int reader(void *arg)
{
unsigned int N = (unsigned long) arg;

@@ -289,7 +289,7 @@
complete_and_exit(&rd_comp[N], 0);
}

-int writer(void *arg)
+static int writer(void *arg)
{
unsigned int N = (unsigned long) arg;

@@ -313,7 +313,7 @@
complete_and_exit(&wr_comp[N], 0);
}

-int downgrader(void *arg)
+static int downgrader(void *arg)
{
unsigned int N = (unsigned long) arg;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-01-07 19:23    [W:0.246 / U:0.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site