This repository has been archived on 2024-01-18. You can view files and clone it, but cannot push or open issues or pull requests.
OS_Project/Part1/A4/08_shell/libc/function.h

9 lines
221 B
C
Raw Normal View History

2023-09-11 18:28:11 +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