summaryrefslogtreecommitdiff
path: root/src/hwdep
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2003-07-25 17:02:00 +0000
committerTakashi Iwai <tiwai@suse.de>2003-07-25 17:02:00 +0000
commit7716fd1e3dde2d7da8b91d0d4296fe924ee9167a (patch)
treeba18963051f15f6162f6e0ea665729cb87c5f5ba /src/hwdep
parentc18c32b26c28e60d0fbdcc5efc5e27a20ae27c4b (diff)
downloadalsa-lib-7716fd1e3dde2d7da8b91d0d4296fe924ee9167a.tar.gz
fixes by Art Haas <ahaas@airmail.net>:
rewritten with C99 struct initialization style.
Diffstat (limited to 'src/hwdep')
-rw-r--r--src/hwdep/hwdep_hw.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/hwdep/hwdep_hw.c b/src/hwdep/hwdep_hw.c
index d1e970e1..59ff6d17 100644
--- a/src/hwdep/hwdep_hw.c
+++ b/src/hwdep/hwdep_hw.c
@@ -95,12 +95,12 @@ static ssize_t snd_hwdep_hw_read(snd_hwdep_t *hwdep, void *buffer, size_t size)
}
static snd_hwdep_ops_t snd_hwdep_hw_ops = {
- close: snd_hwdep_hw_close,
- nonblock: snd_hwdep_hw_nonblock,
- info: snd_hwdep_hw_info,
- ioctl: snd_hwdep_hw_ioctl,
- write: snd_hwdep_hw_write,
- read: snd_hwdep_hw_read,
+ .close = snd_hwdep_hw_close,
+ .nonblock = snd_hwdep_hw_nonblock,
+ .info = snd_hwdep_hw_info,
+ .ioctl = snd_hwdep_hw_ioctl,
+ .write = snd_hwdep_hw_write,
+ .read = snd_hwdep_hw_read,
};
int snd_hwdep_hw_open(snd_hwdep_t **handle, const char *name, int card, int device, int mode)