diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/wolf/port/unused.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/wolf/port/unused.h b/include/wolf/port/unused.h new file mode 100644 index 0000000..c18ed27 --- /dev/null +++ b/include/wolf/port/unused.h @@ -0,0 +1,9 @@ +#ifndef WOLF_UNUSED_H +#define WOLF_UNUSED_H + +/** + * @brief Macro to avoid unused parameter messages in functions + */ +#define WOLF_UNUSED( x ) if( 0 && (x) ) { } + +#endif /* ifndef WOLF_UNUSED_H */ |