summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-03-21 13:21:59 +0700
committerhathach <[email protected]>2023-03-21 13:21:59 +0700
commitccf17e3cde4c3ca42731829107ca18217aab541e (patch)
tree2f9863be549be4cc4e5791eab36d5faaa9dfb79f /examples
parente44e461ce3295f5680ea211048ade473963ba016 (diff)
add -Wreturn-type
Diffstat (limited to 'examples')
-rw-r--r--examples/make.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/make.mk b/examples/make.mk
index 0a07da21c..2ce6fb398 100644
--- a/examples/make.mk
+++ b/examples/make.mk
@@ -150,6 +150,7 @@ GCC_CFLAGS += \
-Wnull-dereference \
-Wuninitialized \
-Wunused \
+ -Wreturn-type \
-Wredundant-decls
# conversion is too strict for most mcu driver, may be disable sign/int/arith-conversion