summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNikitarc <[email protected]>2022-04-25 14:06:15 +0200
committerNikitarc <[email protected]>2022-04-25 14:06:15 +0200
commit15c01f20ecdb3b9ff184f2311e65e95e4cd8e5cd (patch)
tree28282b518105c923a60a5899be1c6347101c6abe /src
parentc422b9ef419d4abc52b8c1e95ba4577ac6ae6a8c (diff)
Update tusb_option.h
Makes ISO compiler happy
Diffstat (limited to 'src')
-rw-r--r--src/tusb_option.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tusb_option.h b/src/tusb_option.h
index bd87a953c..66313419a 100644
--- a/src/tusb_option.h
+++ b/src/tusb_option.h
@@ -27,6 +27,9 @@
#ifndef _TUSB_OPTION_H_
#define _TUSB_OPTION_H_
+// To avoid GCC compiler warnings when -pedantic option is used (strict ISO C)
+typedef int make_iso_compilers_happy ;
+
#include "common/tusb_compiler.h"
#define TUSB_VERSION_MAJOR 0