[-mm patch] kernel/lockdep.c: make 3 functions static

From: Adrian Bunk
Date: Fri Jun 23 2006 - 06:55:56 EST


This patch makes three needlessly global functions static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---

kernel/lockdep.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

--- linux-2.6.17-mm1-full/kernel/lockdep.c.old 2006-06-22 17:39:33.000000000 +0200
+++ linux-2.6.17-mm1-full/kernel/lockdep.c 2006-06-22 17:48:58.000000000 +0200
@@ -444,7 +444,7 @@
printk(" ");
}

-void print_lock_type_header(struct lock_type *type, int depth)
+static void print_lock_type_header(struct lock_type *type, int depth)
{
int bit;

@@ -516,7 +516,7 @@
printk(" } [%d]", nr);
}

-void print_lock_type(struct lock_type *type)
+static void print_lock_type(struct lock_type *type)
{
print_lock_type_header(type, 0);
if (!list_empty(&type->locks_after))
@@ -1177,7 +1177,7 @@
* To make lock name printouts unique, we calculate a unique
* type->name_version generation counter:
*/
-int count_matching_names(struct lock_type *new_type)
+static int count_matching_names(struct lock_type *new_type)
{
struct lock_type *type;
int count = 0;

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