Print this page
10079 smatch Makefile changes for usr/src/lib
*** 19,29 ****
# CDDL HEADER END
#
#
# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
! #
LIBRARY = libmapid.a
VERS = .1
SMF_DIR = $(SRC)/cmd/fs.d/nfs/lib
--- 19,29 ----
# CDDL HEADER END
#
#
# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
#
! # Copyright (c) 2018, Joyent, Inc.
LIBRARY = libmapid.a
VERS = .1
SMF_DIR = $(SRC)/cmd/fs.d/nfs/lib
*** 56,65 ****
--- 56,67 ----
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-uninitialized
+ SMOFF += all_func_returns
+
.KEEP_STATE:
all: $(LIBS)
install: $(ROOTLIBDIR) all