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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch makes three needlessly global functions static.

Signed-off-by: Adrian Bunk <[email protected]>

---

 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux