PulseAudio is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
- by the Free Software Foundation; either version 2 of the License,
+ by the Free Software Foundation; either version 2.1 of the License,
or (at your option) any later version.
PulseAudio is distributed in the hope that it will be useful, but
#endif
#include <string.h>
-#include <getopt.h>
#include <stdio.h>
#include <ltdl.h>
#include <pulse/util.h>
-#include <pulse/i18n.h>
-#include <pulsecore/modinfo.h>
#include <pulsecore/core-util.h>
+#include <pulsecore/i18n.h>
#include <pulsecore/macro.h>
+#include <pulsecore/modinfo.h>
#include "dumpmodules.h"
#define PREFIX "module-"
-static void short_info(const char *name, PA_GCC_UNUSED const char *path, pa_modinfo *i) {
+static void short_info(const char *name, const char *path, pa_modinfo *i) {
pa_assert(name);
pa_assert(i);
if (i->usage)
printf(_("Usage: %s\n"), i->usage);
printf(_("Load Once: %s\n"), pa_yes_no(i->load_once));
+ if (i->deprecated)
+ printf(_("DEPRECATION WARNING: %s\n"), i->deprecated);
}
if (path)
}
}
-extern const lt_dlsymlist lt_preloaded_symbols[];
-
static int is_preloaded(const char *name) {
const lt_dlsymlist *l;
if ((e = strrchr(buf, '.')))
*e = 0;
- if (!strcmp(name, buf))
+ if (pa_streq(name, buf))
return 1;
}