* [PATCH] Remove ARRAY_SIZE macro from SoundScape
@ 2002-10-07 20:47 Chris Rankin
2002-10-08 10:11 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Chris Rankin @ 2002-10-07 20:47 UTC (permalink / raw)
To: alsa-devel
Now that the ARRAY_SIZE macro has been migrated to adriver.h, it can come out of here. And there's a whitespace diff too.
Chris
Index: alsa-driver/isa/sscape.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/isa/sscape.c,v
retrieving revision 1.7
diff -u -u -r1.7 sscape.c
--- alsa-driver/isa/sscape.c 7 Oct 2002 10:59:39 -0000 1.7
+++ alsa-driver/isa/sscape.c 7 Oct 2002 20:40:40 -0000
@@ -68,9 +68,6 @@
static snd_card_t *sscape_card[SNDRV_CARDS];
static unsigned __initdata sscape_count;
-#ifndef ARRAY_SIZE
-# define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
-#endif
#define MPU401_IO(i) ((i) + 0)
#define MIDI_DATA_IO(i) ((i) + 0)
@@ -286,7 +283,7 @@
* Also leaves all locking-issues to the caller ...
*/
static int host_write_ctrl_unsafe(unsigned io_base, unsigned char data,
- unsigned timeout)
+ unsigned timeout)
{
int err;
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Remove ARRAY_SIZE macro from SoundScape
2002-10-07 20:47 [PATCH] Remove ARRAY_SIZE macro from SoundScape Chris Rankin
@ 2002-10-08 10:11 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2002-10-08 10:11 UTC (permalink / raw)
To: Chris Rankin; +Cc: alsa-devel
At Mon, 7 Oct 2002 21:47:08 +0100 (BST),
Chris Rankin wrote:
>
> Now that the ARRAY_SIZE macro has been migrated to adriver.h, it can come out of here. And there's a whitespace diff too.
applied. thanks.
Takashi
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-10-08 10:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-07 20:47 [PATCH] Remove ARRAY_SIZE macro from SoundScape Chris Rankin
2002-10-08 10:11 ` Takashi Iwai
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.