X-Git-Url: https://code.delx.au/pulseaudio/blobdiff_plain/829656c5fcd7169e4c2f86f4ad5098ea9aaa5643..fa499dad06ba6558111cdef64c18f2401e803cff:/polyp/dumpmodules.c diff --git a/polyp/dumpmodules.c b/polyp/dumpmodules.c index 9ed89692..1903fe00 100644 --- a/polyp/dumpmodules.c +++ b/polyp/dumpmodules.c @@ -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++)