diff options
author | Marcin Ślusarz <marcin.slusarz@gmail.com> | 2007-12-14 06:59:50 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 11:29:35 -0500 |
commit | 3b378e1f7e5b372a88189398f3946fd55da5923a (patch) | |
tree | 54fc0291ab85639c1bf62d2336fa637f0c8bebeb /sound/core | |
parent | 36b9cdfea64650069d985c5999cb5c2b6f8b85fb (diff) |
[ALSA] sound/core/seq: move declarations of globally visible variables to proper headers
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>
Diffstat (limited to 'sound/core')
-rw-r--r-- | sound/core/seq/seq_clientmgr.c | 2 | ||||
-rw-r--r-- | sound/core/seq/seq_clientmgr.h | 2 | ||||
-rw-r--r-- | sound/core/seq/seq_timer.c | 7 | ||||
-rw-r--r-- | sound/core/seq/seq_timer.h | 7 |
4 files changed, 9 insertions, 9 deletions
diff --git a/sound/core/seq/seq_clientmgr.c b/sound/core/seq/seq_clientmgr.c index 69421ca68167..6444bd8c0fdf 100644 --- a/sound/core/seq/seq_clientmgr.c +++ b/sound/core/seq/seq_clientmgr.c | |||
@@ -130,8 +130,6 @@ static struct snd_seq_client *clientptr(int clientid) | |||
130 | return clienttab[clientid]; | 130 | return clienttab[clientid]; |
131 | } | 131 | } |
132 | 132 | ||
133 | extern int seq_client_load[]; | ||
134 | |||
135 | struct snd_seq_client *snd_seq_client_use_ptr(int clientid) | 133 | struct snd_seq_client *snd_seq_client_use_ptr(int clientid) |
136 | { | 134 | { |
137 | unsigned long flags; | 135 | unsigned long flags; |
diff --git a/sound/core/seq/seq_clientmgr.h b/sound/core/seq/seq_clientmgr.h index 5e04e20e239f..20f0a725ec7d 100644 --- a/sound/core/seq/seq_clientmgr.h +++ b/sound/core/seq/seq_clientmgr.h | |||
@@ -98,4 +98,6 @@ int snd_seq_kernel_client_write_poll(int clientid, struct file *file, poll_table | |||
98 | int snd_seq_client_notify_subscription(int client, int port, | 98 | int snd_seq_client_notify_subscription(int client, int port, |
99 | struct snd_seq_port_subscribe *info, int evtype); | 99 | struct snd_seq_port_subscribe *info, int evtype); |
100 | 100 | ||
101 | extern int seq_client_load[15]; | ||
102 | |||
101 | #endif | 103 | #endif |
diff --git a/sound/core/seq/seq_timer.c b/sound/core/seq/seq_timer.c index 8716352afc81..82a5b333a963 100644 --- a/sound/core/seq/seq_timer.c +++ b/sound/core/seq/seq_timer.c | |||
@@ -27,13 +27,6 @@ | |||
27 | #include "seq_queue.h" | 27 | #include "seq_queue.h" |
28 | #include "seq_info.h" | 28 | #include "seq_info.h" |
29 | 29 | ||
30 | extern int seq_default_timer_class; | ||
31 | extern int seq_default_timer_sclass; | ||
32 | extern int seq_default_timer_card; | ||
33 | extern int seq_default_timer_device; | ||
34 | extern int seq_default_timer_subdevice; | ||
35 | extern int seq_default_timer_resolution; | ||
36 | |||
37 | /* allowed sequencer timer frequencies, in Hz */ | 30 | /* allowed sequencer timer frequencies, in Hz */ |
38 | #define MIN_FREQUENCY 10 | 31 | #define MIN_FREQUENCY 10 |
39 | #define MAX_FREQUENCY 6250 | 32 | #define MAX_FREQUENCY 6250 |
diff --git a/sound/core/seq/seq_timer.h b/sound/core/seq/seq_timer.h index e9ee1543c924..88dfb71805ae 100644 --- a/sound/core/seq/seq_timer.h +++ b/sound/core/seq/seq_timer.h | |||
@@ -138,4 +138,11 @@ int snd_seq_timer_set_skew(struct snd_seq_timer *tmr, unsigned int skew, unsigne | |||
138 | snd_seq_real_time_t snd_seq_timer_get_cur_time(struct snd_seq_timer *tmr); | 138 | snd_seq_real_time_t snd_seq_timer_get_cur_time(struct snd_seq_timer *tmr); |
139 | snd_seq_tick_time_t snd_seq_timer_get_cur_tick(struct snd_seq_timer *tmr); | 139 | snd_seq_tick_time_t snd_seq_timer_get_cur_tick(struct snd_seq_timer *tmr); |
140 | 140 | ||
141 | extern int seq_default_timer_class; | ||
142 | extern int seq_default_timer_sclass; | ||
143 | extern int seq_default_timer_card; | ||
144 | extern int seq_default_timer_device; | ||
145 | extern int seq_default_timer_subdevice; | ||
146 | extern int seq_default_timer_resolution; | ||
147 | |||
141 | #endif | 148 | #endif |