Commit 3b378e1f7e5b372a88189398f3946fd55da5923a

Authored by Marcin Ślusarz
Committed by Jaroslav Kysela
1 parent 36b9cdfea6

[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>

Showing 4 changed files with 9 additions and 9 deletions Side-by-side Diff

sound/core/seq/seq_clientmgr.c
... ... @@ -130,8 +130,6 @@
130 130 return clienttab[clientid];
131 131 }
132 132  
133   -extern int seq_client_load[];
134   -
135 133 struct snd_seq_client *snd_seq_client_use_ptr(int clientid)
136 134 {
137 135 unsigned long flags;
sound/core/seq/seq_clientmgr.h
... ... @@ -98,5 +98,7 @@
98 98 int snd_seq_client_notify_subscription(int client, int port,
99 99 struct snd_seq_port_subscribe *info, int evtype);
100 100  
  101 +extern int seq_client_load[15];
  102 +
101 103 #endif
sound/core/seq/seq_timer.c
... ... @@ -27,13 +27,6 @@
27 27 #include "seq_queue.h"
28 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 30 /* allowed sequencer timer frequencies, in Hz */
38 31 #define MIN_FREQUENCY 10
39 32 #define MAX_FREQUENCY 6250
sound/core/seq/seq_timer.h
... ... @@ -138,5 +138,12 @@
138 138 snd_seq_real_time_t snd_seq_timer_get_cur_time(struct snd_seq_timer *tmr);
139 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 148 #endif