Enable -Wmissing-prototypes

In other words, warn when a function is missing static. I don't see
why this isn't in -Wextra.
weechat-hashes
June McEnroe 2022-02-19 17:46:07 -05:00
parent a2a118c857
commit 70f627bc47
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,8 @@ BINDIR ?= ${PREFIX}/bin
MANDIR ?= ${PREFIX}/man
CEXTS = gnu-case-range gnu-conditional-omitted-operand
CFLAGS += -std=c11 -Wall -Wextra -Wpedantic ${CEXTS:%=-Wno-%}
CFLAGS += -std=c11 -Wall -Wextra -Wpedantic -Wmissing-prototypes
CFLAGS += ${CEXTS:%=-Wno-%}
LDADD.libtls = -ltls
LDADD.ncursesw = -lncursesw