Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 19,29 ****
# CDDL HEADER END
#
#
# Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
#
! #
FSTYPE= nfs
TYPEPROG= nfsd
ATTMK= $(TYPEPROG)
--- 19,29 ----
# CDDL HEADER END
#
#
# Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
#
! # Copyright (c) 2018, Joyent, Inc.
FSTYPE= nfs
TYPEPROG= nfsd
ATTMK= $(TYPEPROG)
*** 40,49 ****
--- 40,52 ----
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-extra
+ # not linted
+ SMATCH=off
+
$(TYPEPROG): $(OBJS)
$(CC) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS)
$(POST_PROCESS)
nfs_tbind.o: ../lib/nfs_tbind.c