Print this page
10080 smatch Makefile changes for usr/src/cmd

@@ -20,10 +20,11 @@
 #
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG=   sysdef
 OBJS=   $(PROG).o sdevinfo.o
 SRCS=   $(OBJS:%.o=../%.c)
 

@@ -30,10 +31,13 @@
 include ../../Makefile.cmd
 
 LDLIBS  += -ldevinfo -lelf
 CERRWARN += -_gcc=-Wno-parentheses
 
+# not linted
+SMATCH=off
+
 FILEMODE= 02555
 
 CLEANFILES += $(OBJS)
 
 .KEEP_STATE: