From 4c1af33fd372cc8f79f2d7ba954e53c3396f8c80 Mon Sep 17 00:00:00 2001 From: John McNamara Date: Thu, 21 Sep 2023 19:48:37 +0100 Subject: [PATCH] Fix minor unit test compilation warning --- test/unit/Makefile | 2 +- test/unit/Makefile.unit | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/Makefile b/test/unit/Makefile index 4da7da4c..1e3903f6 100644 --- a/test/unit/Makefile +++ b/test/unit/Makefile @@ -16,7 +16,7 @@ INC_DIR = ../../include LIB_DIR = ../../src # Flags passed to the C compiler. -CFLAGS += -DTESTING -DCOLOR_OK -g -Wall -Wextra -Wno-unused-parameter $(GCOV) +CFLAGS += -DTESTING -DCOLOR_OK -g -Wall -Wextra -Wno-unused-parameter -Wno-deprecated-non-prototype $(GCOV) # All tests produced by this Makefile. diff --git a/test/unit/Makefile.unit b/test/unit/Makefile.unit index c9b44d2b..0d8e0215 100644 --- a/test/unit/Makefile.unit +++ b/test/unit/Makefile.unit @@ -16,7 +16,7 @@ INC_DIR = ../../../include LIB_DIR = ../../../src # Flags passed to the C compiler. -CFLAGS += -DTESTING -DCOLOR_OK -g -Wall -Wextra -Wno-unused-parameter $(GCOV) +CFLAGS += -DTESTING -DCOLOR_OK -g -Wall -Wextra -Wno-unused-parameter -Wno-deprecated-non-prototype $(GCOV) # Make targets and objects. SRCS = $(wildcard test*.c)