Skip to content

Commit

Permalink
Makefile: Suppress unused-function warning
Browse files Browse the repository at this point in the history
This commit is to supress warnings caused by the following functions:

* list_del_init
* list_is_last
  • Loading branch information
shengwen-tw committed Nov 9, 2023
1 parent 7abaf78 commit 5d08ed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include mk/common.mk

CC ?= gcc
CFLAGS := -O2 -g -Wall -Wextra
CFLAGS := -O2 -g -Wall -Wextra -Wno-unused-function
CFLAGS += -include common.h
LDFLAGS :=

Expand Down

0 comments on commit 5d08ed9

Please sign in to comment.