diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-11-17 08:04:02 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 06:17:52 -0500 |
commit | c7e0b5bf9fff1b726495081447c107a2333fb82c (patch) | |
tree | f4d9ec9a6446f8e2afde4c94e10a39f2b86a0bc9 /sound/core/seq/seq_system.c | |
parent | 6ac77bc180fbd985988015020c2e2347e802959d (diff) |
[ALSA] Remove xxx_t typedefs: Sequencer
Modules: ALSA sequencer
Remove xxx_t typedefs from the core sequencer codes.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/seq/seq_system.c')
-rw-r--r-- | sound/core/seq/seq_system.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sound/core/seq/seq_system.c b/sound/core/seq/seq_system.c index 0d9eff85ab8..86b1cba33c0 100644 --- a/sound/core/seq/seq_system.c +++ b/sound/core/seq/seq_system.c | |||
@@ -66,12 +66,12 @@ static int announce_port = -1; | |||
66 | 66 | ||
67 | 67 | ||
68 | /* fill standard header data, source port & channel are filled in */ | 68 | /* fill standard header data, source port & channel are filled in */ |
69 | static int setheader(snd_seq_event_t * ev, int client, int port) | 69 | static int setheader(struct snd_seq_event * ev, int client, int port) |
70 | { | 70 | { |
71 | if (announce_port < 0) | 71 | if (announce_port < 0) |
72 | return -ENODEV; | 72 | return -ENODEV; |
73 | 73 | ||
74 | memset(ev, 0, sizeof(snd_seq_event_t)); | 74 | memset(ev, 0, sizeof(struct snd_seq_event)); |
75 | 75 | ||
76 | ev->flags &= ~SNDRV_SEQ_EVENT_LENGTH_MASK; | 76 | ev->flags &= ~SNDRV_SEQ_EVENT_LENGTH_MASK; |
77 | ev->flags |= SNDRV_SEQ_EVENT_LENGTH_FIXED; | 77 | ev->flags |= SNDRV_SEQ_EVENT_LENGTH_FIXED; |
@@ -92,7 +92,7 @@ static int setheader(snd_seq_event_t * ev, int client, int port) | |||
92 | /* entry points for broadcasting system events */ | 92 | /* entry points for broadcasting system events */ |
93 | void snd_seq_system_broadcast(int client, int port, int type) | 93 | void snd_seq_system_broadcast(int client, int port, int type) |
94 | { | 94 | { |
95 | snd_seq_event_t ev; | 95 | struct snd_seq_event ev; |
96 | 96 | ||
97 | if (setheader(&ev, client, port) < 0) | 97 | if (setheader(&ev, client, port) < 0) |
98 | return; | 98 | return; |
@@ -101,7 +101,7 @@ void snd_seq_system_broadcast(int client, int port, int type) | |||
101 | } | 101 | } |
102 | 102 | ||
103 | /* entry points for broadcasting system events */ | 103 | /* entry points for broadcasting system events */ |
104 | int snd_seq_system_notify(int client, int port, snd_seq_event_t *ev) | 104 | int snd_seq_system_notify(int client, int port, struct snd_seq_event *ev) |
105 | { | 105 | { |
106 | ev->flags = SNDRV_SEQ_EVENT_LENGTH_FIXED; | 106 | ev->flags = SNDRV_SEQ_EVENT_LENGTH_FIXED; |
107 | ev->source.client = sysclient; | 107 | ev->source.client = sysclient; |
@@ -112,7 +112,7 @@ int snd_seq_system_notify(int client, int port, snd_seq_event_t *ev) | |||
112 | } | 112 | } |
113 | 113 | ||
114 | /* call-back handler for timer events */ | 114 | /* call-back handler for timer events */ |
115 | static int event_input_timer(snd_seq_event_t * ev, int direct, void *private_data, int atomic, int hop) | 115 | static int event_input_timer(struct snd_seq_event * ev, int direct, void *private_data, int atomic, int hop) |
116 | { | 116 | { |
117 | return snd_seq_control_queue(ev, atomic, hop); | 117 | return snd_seq_control_queue(ev, atomic, hop); |
118 | } | 118 | } |
@@ -121,10 +121,10 @@ static int event_input_timer(snd_seq_event_t * ev, int direct, void *private_dat | |||
121 | int __init snd_seq_system_client_init(void) | 121 | int __init snd_seq_system_client_init(void) |
122 | { | 122 | { |
123 | 123 | ||
124 | snd_seq_client_callback_t callbacks; | 124 | struct snd_seq_client_callback callbacks; |
125 | snd_seq_port_callback_t pcallbacks; | 125 | struct snd_seq_port_callback pcallbacks; |
126 | snd_seq_client_info_t *inf; | 126 | struct snd_seq_client_info *inf; |
127 | snd_seq_port_info_t *port; | 127 | struct snd_seq_port_info *port; |
128 | 128 | ||
129 | inf = kzalloc(sizeof(*inf), GFP_KERNEL); | 129 | inf = kzalloc(sizeof(*inf), GFP_KERNEL); |
130 | port = kzalloc(sizeof(*port), GFP_KERNEL); | 130 | port = kzalloc(sizeof(*port), GFP_KERNEL); |