* [2.6 patch] drivers/media/video/bttv-driver.c: make 2 functions static
@ 2005-04-19 0:38 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2005-04-19 0:38 UTC (permalink / raw)
To: kraxel; +Cc: video4linux-list, linux-kernel
This patch makes two needlessly global functions static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
drivers/media/video/bttv-driver.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
--- linux-2.6.12-rc2-mm3-full/drivers/media/video/bttv-driver.c.old 2005-04-19 01:32:53.000000000 +0200
+++ linux-2.6.12-rc2-mm3-full/drivers/media/video/bttv-driver.c 2005-04-19 01:33:31.000000000 +0200
@@ -3169,7 +3169,7 @@
/* ----------------------------------------------------------------------- */
/* some debug code */
-int bttv_risc_decode(u32 risc)
+static int bttv_risc_decode(u32 risc)
{
static char *instr[16] = {
[ BT848_RISC_WRITE >> 28 ] = "write",
@@ -3206,8 +3206,8 @@
return incr[risc >> 28] ? incr[risc >> 28] : 1;
}
-void bttv_risc_disasm(struct bttv *btv,
- struct btcx_riscmem *risc)
+static void bttv_risc_disasm(struct bttv *btv,
+ struct btcx_riscmem *risc)
{
unsigned int i,j,n;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-04-19 0:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-19 0:38 [2.6 patch] drivers/media/video/bttv-driver.c: make 2 functions static Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox