changeset 1635:16044c4a34d7

scrobbler: C99 initialisers
author William Pitcock <nenolod@atheme.org>
date Fri, 07 Sep 2007 05:19:03 -0500
parents 98c9257d0a80
children 16c1ca141387
files src/scrobbler/plugin.c
diffstat 1 files changed, 4 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/scrobbler/plugin.c	Fri Sep 07 05:18:07 2007 -0500
+++ b/src/scrobbler/plugin.c	Fri Sep 07 05:19:03 2007 -0500
@@ -56,13 +56,10 @@
 
 static GeneralPlugin scrobbler_gp =
 {
-	NULL,
-	NULL,
-	"Scrobbler Plugin",
-	init,
-	about_show,
-	NULL,
-	cleanup
+	.description = "Scrobbler Plugin",
+	.init = init,
+	.about = about_show,
+	.cleanup = cleanup
 };
 
 static gboolean ishttp(const char *a)