Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 21,31 ****
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
# Copyright (c) 2012 by Delphix. All rights reserved.
! # Copyright 2017 Joyent, Inc.
# Copyright 2017 RackTop Systems.
#
PROG:sh= cd ..; basename `pwd`
SRCS= ../$(PROG).c ../zdb_il.c
--- 21,31 ----
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
# Copyright (c) 2012 by Delphix. All rights reserved.
! # Copyright (c) 2018, Joyent, Inc.
# Copyright 2017 RackTop Systems.
#
PROG:sh= cd ..; basename `pwd`
SRCS= ../$(PROG).c ../zdb_il.c
*** 52,61 ****
--- 52,63 ----
# in Makefile.master
CERRWARN += -_gcc=-Wmissing-braces
CERRWARN += -_gcc=-Wsign-compare
CERRWARN += -_gcc=-Wmissing-field-initializers
+ SMOFF += 64bit_shift,all_func_returns
+
# lint complains about unused _umem_* functions
LINTFLAGS += -xerroff=E_NAME_DEF_NOT_USED2
LINTFLAGS64 += -xerroff=E_NAME_DEF_NOT_USED2
# lint complains about unused inline functions, even though