mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
misc: add _unused macro
Some parameters are expected to be unused. Add a basic macro to mute these compiler warnings. Signed-off-by: Liam Beguin <liambeguin@gmail.com>
This commit is contained in:
parent
04da651f09
commit
2795ef6c79
1 changed files with 1 additions and 0 deletions
|
|
@ -20,6 +20,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
#define _unused(x) (void)(x)
|
||||||
|
|
||||||
char * current_time(void);
|
char * current_time(void);
|
||||||
void delay(long ms);
|
void delay(long ms);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue