* [2.6 patch] sound/core/pcm.c: make snd_pcm_format_name() static
@ 2006-04-10 22:18 Adrian Bunk
2006-04-11 10:38 ` Takashi Iwai
2006-04-11 10:38 ` Takashi Iwai
0 siblings, 2 replies; 4+ messages in thread
From: Adrian Bunk @ 2006-04-10 22:18 UTC (permalink / raw)
To: perex; +Cc: alsa-devel, linux-kernel
This patch makes the needlessly global snd_pcm_format_name() static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
include/sound/pcm.h | 1 -
sound/core/pcm.c | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
--- linux-2.6.17-rc1-mm2-full/include/sound/pcm.h.old 2006-04-10 23:34:28.000000000 +0200
+++ linux-2.6.17-rc1-mm2-full/include/sound/pcm.h 2006-04-10 23:34:38.000000000 +0200
@@ -898,7 +898,6 @@
const unsigned char *snd_pcm_format_silence_64(snd_pcm_format_t format);
int snd_pcm_format_set_silence(snd_pcm_format_t format, void *buf, unsigned int frames);
snd_pcm_format_t snd_pcm_build_linear_format(int width, int unsignd, int big_endian);
-const char *snd_pcm_format_name(snd_pcm_format_t format);
void snd_pcm_set_ops(struct snd_pcm * pcm, int direction, struct snd_pcm_ops *ops);
void snd_pcm_set_sync(struct snd_pcm_substream *substream);
--- linux-2.6.17-rc1-mm2-full/sound/core/pcm.c.old 2006-04-10 23:32:17.000000000 +0200
+++ linux-2.6.17-rc1-mm2-full/sound/core/pcm.c 2006-04-10 23:32:42.000000000 +0200
@@ -196,7 +196,7 @@
FORMAT(U18_3BE),
};
-const char *snd_pcm_format_name(snd_pcm_format_t format)
+static const char *snd_pcm_format_name(snd_pcm_format_t format)
{
return snd_pcm_format_names[format];
}
^ permalink raw reply [flat|nested] 4+ messages in thread
* [2.6 patch] sound/core/pcm.c: make snd_pcm_format_name() static
@ 2006-04-10 22:18 Adrian Bunk
0 siblings, 0 replies; 4+ messages in thread
From: Adrian Bunk @ 2006-04-10 22:18 UTC (permalink / raw)
To: perex; +Cc: alsa-devel, linux-kernel
This patch makes the needlessly global snd_pcm_format_name() static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
include/sound/pcm.h | 1 -
sound/core/pcm.c | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
--- linux-2.6.17-rc1-mm2-full/include/sound/pcm.h.old 2006-04-10 23:34:28.000000000 +0200
+++ linux-2.6.17-rc1-mm2-full/include/sound/pcm.h 2006-04-10 23:34:38.000000000 +0200
@@ -898,7 +898,6 @@
const unsigned char *snd_pcm_format_silence_64(snd_pcm_format_t format);
int snd_pcm_format_set_silence(snd_pcm_format_t format, void *buf, unsigned int frames);
snd_pcm_format_t snd_pcm_build_linear_format(int width, int unsignd, int big_endian);
-const char *snd_pcm_format_name(snd_pcm_format_t format);
void snd_pcm_set_ops(struct snd_pcm * pcm, int direction, struct snd_pcm_ops *ops);
void snd_pcm_set_sync(struct snd_pcm_substream *substream);
--- linux-2.6.17-rc1-mm2-full/sound/core/pcm.c.old 2006-04-10 23:32:17.000000000 +0200
+++ linux-2.6.17-rc1-mm2-full/sound/core/pcm.c 2006-04-10 23:32:42.000000000 +0200
@@ -196,7 +196,7 @@
FORMAT(U18_3BE),
};
-const char *snd_pcm_format_name(snd_pcm_format_t format)
+static const char *snd_pcm_format_name(snd_pcm_format_t format)
{
return snd_pcm_format_names[format];
}
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [2.6 patch] sound/core/pcm.c: make snd_pcm_format_name() static
2006-04-10 22:18 [2.6 patch] sound/core/pcm.c: make snd_pcm_format_name() static Adrian Bunk
@ 2006-04-11 10:38 ` Takashi Iwai
2006-04-11 10:38 ` Takashi Iwai
1 sibling, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2006-04-11 10:38 UTC (permalink / raw)
To: Adrian Bunk; +Cc: perex, alsa-devel, linux-kernel
At Tue, 11 Apr 2006 00:18:01 +0200,
Adrian Bunk wrote:
>
> This patch makes the needlessly global snd_pcm_format_name() static.
>
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
Thanks, applied to ALSA tree.
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [2.6 patch] sound/core/pcm.c: make snd_pcm_format_name() static
2006-04-10 22:18 [2.6 patch] sound/core/pcm.c: make snd_pcm_format_name() static Adrian Bunk
2006-04-11 10:38 ` Takashi Iwai
@ 2006-04-11 10:38 ` Takashi Iwai
1 sibling, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2006-04-11 10:38 UTC (permalink / raw)
To: Adrian Bunk; +Cc: perex, alsa-devel, linux-kernel
At Tue, 11 Apr 2006 00:18:01 +0200,
Adrian Bunk wrote:
>
> This patch makes the needlessly global snd_pcm_format_name() static.
>
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
Thanks, applied to ALSA tree.
Takashi
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-04-11 10:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-10 22:18 [2.6 patch] sound/core/pcm.c: make snd_pcm_format_name() static Adrian Bunk
2006-04-11 10:38 ` Takashi Iwai
2006-04-11 10:38 ` Takashi Iwai
-- strict thread matches above, loose matches on Subject: below --
2006-04-10 22:18 Adrian Bunk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.