diff --git a/examples/CC3200/Makefile.build b/examples/CC3200/Makefile.build index fce74d8100e2895f3eb3de230258ec5c04567424..6b752cc358b4a44b5b5a68d2a9aa2c2363410532 100644 --- a/examples/CC3200/Makefile.build +++ b/examples/CC3200/Makefile.build @@ -104,4 +104,3 @@ ENTRY_$(PROG) = ResetISR SDK_OBJS = $(addprefix $(OBJDIR)/,$(patsubst %.c,%.o,$(SDK_SRCS))) $(SDK_OBJS): CFLAGS += -include mongoose.h -Wno-missing-braces -Wno-strict-aliasing -Wno-parentheses -Wno-unused-variable -$(BUILD_DIR)/cc_pal.o: CFLAGS += -Wno-error diff --git a/mongoose.h b/mongoose.h index 0373f17ac0d8ae3db1b3093dc5c4ea75a2acece4..75a763a217498f50fddd2a9a15028820bd54cd9f 100644 --- a/mongoose.h +++ b/mongoose.h @@ -102,12 +102,10 @@ #ifdef __GNUC__ #define NORETURN __attribute__((noreturn)) -#define UNUSED __attribute__((unused)) #define NOINLINE __attribute__((noinline)) #define WARN_UNUSED_RESULT __attribute__((warn_unused_result)) #else #define NORETURN -#define UNUSED #define NOINLINE #define WARN_UNUSED_RESULT #endif /* __GNUC__ */