freebsd-dev/usr.sbin/bootparamd/Makefile.inc
Yoshihiro Takahashi e03764d931 bootparamd: Fix several warnings and increase warn level to 6.
- Increase WARNS to 6.
- Except -Wcast-align and -Wincompatible-pointer-types-discards-qualifiers
  checks.
- Use ANSI C prototype.
- Statically variables and functions.
- Add extern declaration for global variables.
- Rename local variables to resolve shadow warnings.

PR:		71667
MFC after:	2 weeks
2021-01-02 12:36:09 +09:00

9 lines
211 B
Makefile

# @(#)Makefile.inc 5.1 (Berkeley) 5/11/90
# $FreeBSD$
BINDIR?= /usr/sbin
NO_WCAST_ALIGN=
CWARNFLAGS.clang+= -Wno-incompatible-pointer-types-discards-qualifiers
CWARNFLAGS.gcc+= -Wno-error=discarded-qualifiers