summaryrefslogtreecommitdiff
path: root/src/daemon/dumpmodules.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-05-28 02:47:36 +0200
committerLennart Poettering <lennart@poettering.net>2009-05-28 02:47:36 +0200
commitc224aace42ca3b59d18a5bc7d5f33aed7d9fb99c (patch)
tree53dac2f344317c18f90f3669935b9371a8534b6c /src/daemon/dumpmodules.c
parent1c4393acf0a641a4f462cfa6c368d23d9e55a1b8 (diff)
modules: introduce PA_MODULE_DEPRECATED() macro for marking modules deprecated
Diffstat (limited to 'src/daemon/dumpmodules.c')
-rw-r--r--src/daemon/dumpmodules.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/daemon/dumpmodules.c b/src/daemon/dumpmodules.c
index 0ffc0fc09..92470b49b 100644
--- a/src/daemon/dumpmodules.c
+++ b/src/daemon/dumpmodules.c
@@ -71,6 +71,8 @@ static void long_info(const char *name, const char *path, pa_modinfo *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)