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

@@ -20,12 +20,11 @@
 #
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# cmd/power/Makefile
-#
+# Copyright (c) 2018, Joyent, Inc.
 
 DAEMON_SRCS =   powerd.c sysstat.c
 DAEMON_OBJS =   $(DAEMON_SRCS:%.c=%.o)
 DAEMON =        powerd
 PMCFG_SRCS =    conf.c parse.c handlers.c

@@ -81,10 +80,12 @@
 #
 # lint pass one enforcement
 #
 CFLAGS += $(CCVERBOSE)
 
+SMOFF += signed
+
 .PARALLEL: $(OBJS)
 
 .KEEP_STATE:
 
 all: $(PROG) $(POWERPERM).dfl $(ETCFILES)