diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-11-17 08:00:19 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 06:17:44 -0500 |
commit | 174c1f65e5b81f616a5b5c8e41fc2b5eeb7a71af (patch) | |
tree | dd5a70a13e740ada1ae001913eb6f496163420f4 /sound/core/info_oss.c | |
parent | 877211f5e1b1196179ba1290e8e1a3dc00427c55 (diff) |
[ALSA] Remove xxx_t typedefs: OSS-emulation
Modules: ALSA Core
Remove xxx_t typedefs from the core OSS-emulation codes.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/info_oss.c')
-rw-r--r-- | sound/core/info_oss.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sound/core/info_oss.c b/sound/core/info_oss.c index 12107968d40..820f4772e44 100644 --- a/sound/core/info_oss.c +++ b/sound/core/info_oss.c | |||
@@ -37,7 +37,7 @@ | |||
37 | 37 | ||
38 | static DECLARE_MUTEX(strings); | 38 | static DECLARE_MUTEX(strings); |
39 | static char *snd_sndstat_strings[SNDRV_CARDS][SNDRV_OSS_INFO_DEV_COUNT]; | 39 | static char *snd_sndstat_strings[SNDRV_CARDS][SNDRV_OSS_INFO_DEV_COUNT]; |
40 | static snd_info_entry_t *snd_sndstat_proc_entry; | 40 | static struct snd_info_entry *snd_sndstat_proc_entry; |
41 | 41 | ||
42 | int snd_oss_info_register(int dev, int num, char *string) | 42 | int snd_oss_info_register(int dev, int num, char *string) |
43 | { | 43 | { |
@@ -63,9 +63,9 @@ int snd_oss_info_register(int dev, int num, char *string) | |||
63 | return 0; | 63 | return 0; |
64 | } | 64 | } |
65 | 65 | ||
66 | extern void snd_card_info_read_oss(snd_info_buffer_t * buffer); | 66 | extern void snd_card_info_read_oss(struct snd_info_buffer *buffer); |
67 | 67 | ||
68 | static int snd_sndstat_show_strings(snd_info_buffer_t * buf, char *id, int dev) | 68 | static int snd_sndstat_show_strings(struct snd_info_buffer *buf, char *id, int dev) |
69 | { | 69 | { |
70 | int idx, ok = -1; | 70 | int idx, ok = -1; |
71 | char *str; | 71 | char *str; |
@@ -88,7 +88,8 @@ static int snd_sndstat_show_strings(snd_info_buffer_t * buf, char *id, int dev) | |||
88 | return ok; | 88 | return ok; |
89 | } | 89 | } |
90 | 90 | ||
91 | static void snd_sndstat_proc_read(snd_info_entry_t *entry, snd_info_buffer_t * buffer) | 91 | static void snd_sndstat_proc_read(struct snd_info_entry *entry, |
92 | struct snd_info_buffer *buffer) | ||
92 | { | 93 | { |
93 | snd_iprintf(buffer, "Sound Driver:3.8.1a-980706 (ALSA v" CONFIG_SND_VERSION " emulation code)\n"); | 94 | snd_iprintf(buffer, "Sound Driver:3.8.1a-980706 (ALSA v" CONFIG_SND_VERSION " emulation code)\n"); |
94 | snd_iprintf(buffer, "Kernel: %s %s %s %s %s\n", | 95 | snd_iprintf(buffer, "Kernel: %s %s %s %s %s\n", |
@@ -111,7 +112,7 @@ static void snd_sndstat_proc_read(snd_info_entry_t *entry, snd_info_buffer_t * b | |||
111 | 112 | ||
112 | int snd_info_minor_register(void) | 113 | int snd_info_minor_register(void) |
113 | { | 114 | { |
114 | snd_info_entry_t *entry; | 115 | struct snd_info_entry *entry; |
115 | 116 | ||
116 | memset(snd_sndstat_strings, 0, sizeof(snd_sndstat_strings)); | 117 | memset(snd_sndstat_strings, 0, sizeof(snd_sndstat_strings)); |
117 | if ((entry = snd_info_create_module_entry(THIS_MODULE, "sndstat", snd_oss_root)) != NULL) { | 118 | if ((entry = snd_info_create_module_entry(THIS_MODULE, "sndstat", snd_oss_root)) != NULL) { |