]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ALSA] sound/core/seq: move declarations of globally visible variables to proper...
authorMarcin Ślusarz <marcin.slusarz@gmail.com>
Fri, 14 Dec 2007 11:59:50 +0000 (12:59 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:29:35 +0000 (17:29 +0100)
sound/core/seq: move declarations of globally visible variables to proper headers

Signed-off-by: Marcin Ślusarz <marcin.slusarz@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/core/seq/seq_clientmgr.c
sound/core/seq/seq_clientmgr.h
sound/core/seq/seq_timer.c
sound/core/seq/seq_timer.h

index 69421ca681678434254f974b79e6d1e5094664d1..6444bd8c0fdfe43f991fa3bd1da72736e328c570 100644 (file)
@@ -130,8 +130,6 @@ static struct snd_seq_client *clientptr(int clientid)
        return clienttab[clientid];
 }
 
-extern int seq_client_load[];
-
 struct snd_seq_client *snd_seq_client_use_ptr(int clientid)
 {
        unsigned long flags;
index 5e04e20e239f4f22fafae0e270fb2f36e7c629fa..20f0a725ec7db293a1edc18c83af60fe3ab11d34 100644 (file)
@@ -98,4 +98,6 @@ int snd_seq_kernel_client_write_poll(int clientid, struct file *file, poll_table
 int snd_seq_client_notify_subscription(int client, int port,
                                       struct snd_seq_port_subscribe *info, int evtype);
 
+extern int seq_client_load[15];
+
 #endif
index 8716352afc812a8eb9dee2469d2e6c3fd1f30433..82a5b333a96308edc97ab3e434410c86ee9f3fa5 100644 (file)
 #include "seq_queue.h"
 #include "seq_info.h"
 
-extern int seq_default_timer_class;
-extern int seq_default_timer_sclass;
-extern int seq_default_timer_card;
-extern int seq_default_timer_device;
-extern int seq_default_timer_subdevice;
-extern int seq_default_timer_resolution;
-
 /* allowed sequencer timer frequencies, in Hz */
 #define MIN_FREQUENCY          10
 #define MAX_FREQUENCY          6250
index e9ee1543c9247e64f229d642118cec785d2eced9..88dfb71805ae0b0b49bfeb37d5b44aa40214ac57 100644 (file)
@@ -138,4 +138,11 @@ int snd_seq_timer_set_skew(struct snd_seq_timer *tmr, unsigned int skew, unsigne
 snd_seq_real_time_t snd_seq_timer_get_cur_time(struct snd_seq_timer *tmr);
 snd_seq_tick_time_t snd_seq_timer_get_cur_tick(struct snd_seq_timer *tmr);
 
+extern int seq_default_timer_class;
+extern int seq_default_timer_sclass;
+extern int seq_default_timer_card;
+extern int seq_default_timer_device;
+extern int seq_default_timer_subdevice;
+extern int seq_default_timer_resolution;
+
 #endif