public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] kernel/acct.c: make a function static
@ 2004-12-12 19:13 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2004-12-12 19:13 UTC (permalink / raw)
  To: Marco van Wieringen; +Cc: linux-kernel

The patch below makes a needlessly global function static.


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

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [2.6 patch] kernel/acct.c: make a function static
@ 2005-01-17  8:13 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-01-17  8:13 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Marco van Wieringen, linux-kernel

This patch makes a needlessly global function static.


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

---

This patch was already sent on:
- 12 Dec 2004

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-17  8:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-17  8:13 [2.6 patch] kernel/acct.c: make a function static Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2004-12-12 19:13 Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox