summaryrefslogtreecommitdiffstats
path: root/runtime/module-template.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/module-template.h')
-rw-r--r--runtime/module-template.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/module-template.h b/runtime/module-template.h
index 9dd759a5..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;\
@@ -246,7 +246,8 @@ static rsRetVal dbgPrintInstInfo(void *pModData)\
instanceData *pData = NULL;
#define CODESTARTdbgPrintInstInfo \
- pData = (instanceData*) pModData;
+ pData = (instanceData*) pModData; \
+ (void)pData; /* prevent compiler warning if unused! */
#define ENDdbgPrintInstInfo \
RETiRet;\