Skip to content

Commit

Permalink
[ALSA] add struct snd_pcm_substream forward declaration
Browse files Browse the repository at this point in the history
fixes: include/sound/pcm.h:62: warning: 'struct snd_pcm_substream' declared
inside parameter list

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
  • Loading branch information
Randy Dunlap authored and Jaroslav Kysela committed Feb 9, 2007
1 parent eb41dab commit e0e6ce0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/sound/pcm.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ struct snd_pcm_hardware {
size_t fifo_size; /* fifo size in bytes */
};

struct snd_pcm_substream;

struct snd_pcm_ops {
int (*open)(struct snd_pcm_substream *substream);
int (*close)(struct snd_pcm_substream *substream);
Expand Down

0 comments on commit e0e6ce0

Please sign in to comment.