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

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

@@ -33,10 +33,13 @@
 CFLAGS +=       $(CCVERBOSE)
 CPPFLAGS +=     -D_LARGEFILE64_SOURCE
 CFLAGS64 +=     $(CCVERBOSE)
 CERRWARN +=     -_gcc=-Wno-uninitialized
 
+# not linted
+SMATCH=off
+
 FILEMODE=02555
 
 CLEANFILES += $(OBJS)
 
 .KEEP_STATE: