From b8ae4604ed68823e7f77a250351ff2e7a525e298 Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Thu, 13 Nov 2008 18:03:41 +0000 Subject: [PATCH] Correct the notifier default module to include the new added API This commit was SVN r19993. --- orte/mca/notifier/base/notifier_base_open.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/orte/mca/notifier/base/notifier_base_open.c b/orte/mca/notifier/base/notifier_base_open.c index 0c676e553a..17ddb93c3d 100644 --- a/orte/mca/notifier/base/notifier_base_open.c +++ b/orte/mca/notifier/base/notifier_base_open.c @@ -39,7 +39,7 @@ #include "orte/mca/notifier/base/static-components.h" static void orte_base_log(int priority, const char *msg, ...); - +static void orte_log_show_help(int priority, const char *file, const char *topic, ...); /* * Global variables */ @@ -47,7 +47,8 @@ int orte_notifier_base_output = -1; orte_notifier_base_module_t orte_notifier = { NULL, NULL, - orte_base_log + orte_base_log, + orte_log_show_help }; opal_list_t mca_notifier_base_components_available; orte_notifier_base_component_t mca_notifier_base_selected_component; @@ -87,3 +88,14 @@ static void orte_base_log(int priority, const char *msg, ...) va_start(ap, msg); va_end(ap); } + +static void orte_log_show_help(int priority, const char *file, const char *topic, ...) +{ + /* just do nothing - it is here just so someone calling it won't + * segv. Put in va_start/va_end just so that compilers won't + * complain. + */ + va_list ap; + va_start(ap, topic); + va_end(ap); +}