changeset 1716:fd393aeaad23

- update LIRC plugin structure
author Giacomo Lozito <james@develia.org>
date Sun, 16 Sep 2007 16:08:41 +0200
parents bd269f6e26b2
children c3375df9efd5
files src/lirc/lirc.c
diffstat 1 files changed, 5 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/lirc/lirc.c	Thu Sep 13 13:22:40 2007 -0500
+++ b/src/lirc/lirc.c	Sun Sep 16 16:08:41 2007 +0200
@@ -51,13 +51,11 @@
 const char *plugin_name="LIRC Plugin";
 
 GeneralPlugin lirc_plugin = {
-	NULL,
-	NULL,
-	"LIRC Plugin",
-	init,
-	about,
-	NULL,
-	cleanup,
+    .description = "LIRC Plugin",
+    .init = init,
+    .about = about,
+    .configure = NULL,
+    .cleanup = cleanup
 };
 
 GeneralPlugin *lirc_gplist[] = { &lirc_plugin, NULL };