[2.6 patch] kernel/acct.c: make a function static

From: Adrian Bunk
Date: Sun Dec 12 2004 - 14:15:28 EST


The patch below makes a needlessly global function static.


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

--- linux-2.6.10-rc2-mm4-full/kernel/acct.c.old 2004-12-12 02:39:22.000000000 +0100
+++ linux-2.6.10-rc2-mm4-full/kernel/acct.c 2004-12-12 02:39:30.000000000 +0100
@@ -170,7 +170,7 @@
*
* NOTE: acct_globals.lock MUST be held on entry and exit.
*/
-void acct_file_reopen(struct file *file)
+static void acct_file_reopen(struct file *file)
{
struct file *old_acct = NULL;


-
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/