Skip to content

Commit

Permalink
[ALSA] sound/core/seq: move declarations of globally visible variable…
Browse files Browse the repository at this point in the history
…s 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>
  • Loading branch information
Marcin Ślusarz authored and Jaroslav Kysela committed Jan 31, 2008
1 parent 36b9cdf commit 3b378e1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 0 additions & 2 deletions sound/core/seq/seq_clientmgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions sound/core/seq/seq_clientmgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 0 additions & 7 deletions sound/core/seq/seq_timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,6 @@
#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
Expand Down
7 changes: 7 additions & 0 deletions sound/core/seq/seq_timer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3b378e1

Please sign in to comment.