changeset 1640:a5045f10f80c

echo_plugin: C99 initialisers
author William Pitcock <nenolod@atheme.org>
date Fri, 07 Sep 2007 05:50:49 -0500
parents a83a065e6518
children e7b8bb47f7af
files src/echo_plugin/echo.c
diffstat 1 files changed, 6 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/src/echo_plugin/echo.c	Fri Sep 07 05:46:25 2007 -0500
+++ b/src/echo_plugin/echo.c	Fri Sep 07 05:50:49 2007 -0500
@@ -23,15 +23,12 @@
 
 EffectPlugin echo_ep =
 {
-	NULL,
-	NULL,
-	"Echo Plugin", /* Description */
-	init,
-	cleanup,
-	echo_about,
-	echo_configure,
-	mod_samples,
-	NULL
+	.description = "Echo Plugin", /* Description */
+	.init = init,
+	.cleanup = cleanup,
+	.about = echo_about,
+	.configure = echo_configure,
+	.mod_samples = mod_samples,
 };
 
 static gint16 *buffer = NULL;