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/Part3/09_memory/libc/function.h

9 lines
221 B
C
Raw Permalink Normal View History

2023-10-18 18:04:33 +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