From d9df6e977554f0bd1d42093ea62ca15dab223ff3 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 28 Nov 2012 10:02:08 +0100 Subject: bugfix: modules not (yet) supporting new conf format were not properly registered This lead to a "module not found" error message instead of the to-be-expected "module does not support new style" error message. That invalid error message could be quite misleading and actually stop people from addressing the real problem (aka "go nuts" ;)) --- runtime/module-template.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/module-template.h') diff --git a/runtime/module-template.h b/runtime/module-template.h index 72a139c4..fe74bac9 100644 --- a/runtime/module-template.h +++ b/runtime/module-template.h @@ -113,7 +113,7 @@ static rsRetVal modGetID(void **pID) \ /* macro to provide the v6 config system module name */ #define MODULE_CNFNAME(name) \ -static __attribute__((unused)) rsRetVal modGetCnfName(uchar **cnfName) \ +static rsRetVal modGetCnfName(uchar **cnfName) \ { \ *cnfName = (uchar*) name; \ return RS_RET_OK;\ -- cgit v1.2.3