aboutsummaryrefslogtreecommitdiff
path: root/audio/audio_int.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-08-11 02:31:14 +0200
committermalc <av1474@comtv.ru>2009-08-11 20:51:23 +0400
commitbee37f32d47a6c04ff57d18e01cf296607e22b30 (patch)
tree546451578b316fd720580b20bd922105ab97f04c /audio/audio_int.h
parentc981d39c95fcf4c3defa7828a8c9866cf3c83a1b (diff)
downloadqemu-bee37f32d47a6c04ff57d18e01cf296607e22b30.zip
qemu-bee37f32d47a6c04ff57d18e01cf296607e22b30.tar.gz
qemu-bee37f32d47a6c04ff57d18e01cf296607e22b30.tar.bz2
Use proper struct initializers and remove INIT_FIELD() macro
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'audio/audio_int.h')
-rw-r--r--audio/audio_int.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/audio/audio_int.h b/audio/audio_int.h
index 0abed38..f3cd0be 100644
--- a/audio/audio_int.h
+++ b/audio/audio_int.h
@@ -232,11 +232,9 @@ static inline int audio_ring_dist (int dst, int src, int len)
#if defined __GNUC__
#define GCC_ATTR __attribute__ ((__unused__, __format__ (__printf__, 1, 2)))
-#define INIT_FIELD(f) . f
#define GCC_FMT_ATTR(n, m) __attribute__ ((__format__ (__printf__, n, m)))
#else
#define GCC_ATTR /**/
-#define INIT_FIELD(f) /**/
#define GCC_FMT_ATTR(n, m)
#endif