Skip to contentSkip to conversation

kernel/acct.c: make a function static

PATCH New Adrian Bunk 1 participant 1 message Dec 12, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel/acct.c: make a function static

The patch below makes a needlessly global function static.

kernel/acct.c renamed from kernel/acct.c.old +1 -1
@@ -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;