changeset 1100:e363a0fa8ea0 trunk

[svn] - null: convert to plugin API v2
author nenolod
date Thu, 24 May 2007 23:35:49 -0700
parents 6e34e226676a
children 661777673349
files ChangeLog src/null/null.c
diffstat 2 files changed, 12 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu May 24 23:34:49 2007 -0700
+++ b/ChangeLog	Thu May 24 23:35:49 2007 -0700
@@ -1,3 +1,11 @@
+2007-05-25 06:34:49 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [2364]
+  - sun: convert to plugin API v2
+  
+  trunk/src/sun/sun.c |   10 +++-------
+  1 file changed, 3 insertions(+), 7 deletions(-)
+
+
 2007-05-25 06:33:06 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [2362]
   - cdaudio-ng (aka Zither's CD Audio Plugin): convert to plugin API v2
--- a/src/null/null.c	Thu May 24 23:34:49 2007 -0700
+++ b/src/null/null.c	Thu May 24 23:35:49 2007 -0700
@@ -233,7 +233,7 @@
 {
 	NULL,
 	NULL,
-	"Null output " VERSION,
+	"Null Output Plugin",
 	null_init,
 	NULL,			/* cleanup */ 
 	null_about,
@@ -252,7 +252,6 @@
 	NULL			/* tell */
 };
 
-OutputPlugin *get_oplugin_info(void)
-{
-	return &null_op;
-}
+OutputPlugin *null_oplist[] = { &null_op, NULL };
+
+DECLARE_PLUGIN(null, NULL, NULL, NULL, null_oplist, NULL, NULL, NULL);