We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a63c1b4 commit 1ffc847Copy full SHA for 1ffc847
21-shell/libc/function.h
@@ -0,0 +1,8 @@
1
+#ifndef FUNCTION_H
2
+#define FUNCTION_H
3
+
4
+/* Sometimes we want to keep parameters to a function for later use
5
+ * and this is a solution to avoid the 'unused parameter' compiler warning */
6
+#define UNUSED(x) (void)(x)
7
8
+#endif
0 commit comments