]> code.delx.au - pulseaudio/blobdiff - polyp/dumpmodules.c
Make the whole stuff LGPL only
[pulseaudio] / polyp / dumpmodules.c
index 9ed89692a5d4fb41d0910ff36a3880d2498e8a7b..1903fe005d1b3a9e45a6b31178f542214cf015cf 100644 (file)
@@ -4,7 +4,7 @@
   This file is part of polypaudio.
 
   polypaudio is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License as published
+  it under the terms of the GNU Lesser General Public License as published
   by the Free Software Foundation; either version 2 of the License,
   or (at your option) any later version.
 
@@ -13,7 +13,7 @@
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
   General Public License for more details.
 
-  You should have received a copy of the GNU General Public License
+  You should have received a copy of the GNU Lesser General Public License
   along with polypaudio; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
   USA.
@@ -40,8 +40,8 @@ static void short_info(const char *name, const char *path, struct pa_modinfo *i)
 }
 
 static void long_info(const char *name, const char *path, struct pa_modinfo *i) {
-    assert(name && i);
     static int nl = 0;
+    assert(name && i);
     
     if (nl)
         printf("\n");
@@ -78,7 +78,7 @@ static void show_info(const char *name, const char *path, void (*info)(const cha
 
 static int callback(const char *path, lt_ptr data) {
     const char *e;
-    struct pa_conf *c = (data);
+    struct pa_daemon_conf *c = (data);
 
     if ((e = (const char*) strrchr(path, '/')))
         e++;
@@ -91,7 +91,7 @@ static int callback(const char *path, lt_ptr data) {
     return 0;
 }
 
-void pa_dump_modules(struct pa_conf *c, int argc, char * const argv[]) {
+void pa_dump_modules(struct pa_daemon_conf *c, int argc, char * const argv[]) {
     if (argc > 0) {
         int i;
         for (i = 0; i < argc; i++)