Skip to content

Commit

Permalink
Fix minor unit test compilation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcnamara committed Sep 21, 2023
1 parent cb31934 commit 4c1af33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/unit/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion test/unit/Makefile.unit
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4c1af33

Please sign in to comment.