1
0
mirror of https://github.com/cfenollosa/os-tutorial.git synced 2024-10-27 20:34:19 +00:00
cfenollosa_os-tutorial/23-fixes/libc/function.h

9 lines
221 B
C
Raw Normal View History

2015-08-17 16:41:38 +00:00
#ifndef FUNCTION_H
#define FUNCTION_H
/* Sometimes we want to keep parameters to a function for later use
* and this is a solution to avoid the 'unused parameter' compiler warning */
#define UNUSED(x) (void)(x)
#endif