From c224aace42ca3b59d18a5bc7d5f33aed7d9fb99c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 28 May 2009 02:47:36 +0200 Subject: modules: introduce PA_MODULE_DEPRECATED() macro for marking modules deprecated --- src/daemon/dumpmodules.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/daemon/dumpmodules.c') 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) -- cgit v1.2.3