Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Marcin Ślusarz and committed by
Jaroslav Kysela
3b378e1f 36b9cdfe

+9 -9
-2
sound/core/seq/seq_clientmgr.c
··· 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;
+2
sound/core/seq/seq_clientmgr.h
··· 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
-7
sound/core/seq/seq_timer.c
··· 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
+7
sound/core/seq/seq_timer.h
··· 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