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

*** 19,28 **** --- 19,29 ---- # CDDL HEADER END # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # + # Copyright (c) 2018, Joyent, Inc. PROG= syslogd ROTATESCRIPT= newsyslog CONFIGFILE= syslog.conf TXTS= syslog.conf
*** 33,42 **** --- 34,47 ---- include ../../Makefile.cmd $(PROG) lint := LDLIBS += -lscf -lnsl CERRWARN += -_gcc=-Wno-uninitialized + + # not linted + SMATCH=off + CPPFLAGS += -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT CFLAGS += -DNDEBUG # there's some extra utility code defined but not used. LINTFLAGS += -erroff=E_NAME_DEF_NOT_USED2