Print this page
10063 basic support for smatch
10153 checkpaths shouldn't check packaging exceptions
*** 20,44 ****
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
PROG= tset
include ../Makefile.ucbcmd
FILEMODE= 755
! LDLIBS = -L$(ROOT)/usr/ucblib -R /usr/ucblib $(LDLIBS.cmd) -lucb -ltermcap
CPPFLAGS = -I$(SRC)/ucbhead $(CPPFLAGS.master)
CERRWARN += -_gcc=-Wno-implicit-function-declaration
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-uninitialized
ROOTSYMLINK= $(ROOTBIN)/reset
.KEEP_STATE:
all: $(PROG)
--- 20,48 ----
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+ # Copyright (c) 2018, Joyent, Inc.
PROG= tset
include ../Makefile.ucbcmd
FILEMODE= 755
! LDLIBS = -L$(ROOT)/usr/ucblib -R/usr/ucblib $(LDLIBS.cmd) -lucb -ltermcap
CPPFLAGS = -I$(SRC)/ucbhead $(CPPFLAGS.master)
CERRWARN += -_gcc=-Wno-implicit-function-declaration
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-uninitialized
+ # missing prototypes
+ SMATCH=off
+
ROOTSYMLINK= $(ROOTBIN)/reset
.KEEP_STATE:
all: $(PROG)