mirror of
https://github.com/cfenollosa/os-tutorial.git
synced 2024-10-27 20:34:19 +00:00
missing file for lesson 21
This commit is contained in:
parent
a63c1b4fb5
commit
1ffc847737
8
21-shell/libc/function.h
Normal file
8
21-shell/libc/function.h
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#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
|
Loading…
Reference in New Issue
Block a user