Print this page
10079 smatch Makefile changes for usr/src/lib
*** 20,33 ****
#
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-
- #
# Copyright (c) 2015 by Delphix. All rights reserved.
#
LIBRARY= libzfs_jni.a
VERS= .1
OBJECTS= libzfs_jni_dataset.o \
--- 20,33 ----
#
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# Copyright (c) 2015 by Delphix. All rights reserved.
#
+ # Copyright (c) 2018, Joyent, Inc.
+ #
LIBRARY= libzfs_jni.a
VERS= .1
OBJECTS= libzfs_jni_dataset.o \
*** 48,57 ****
--- 48,59 ----
LDLIBS += -lc -lnvpair -ldiskmgt -lzfs
CPPFLAGS += $(INCS)
$(NOT_RELEASE_BUILD) CPPFLAGS += -DDEBUG
CERRWARN += -_gcc=-Wno-switch
+ SMOFF += all_func_returns
+
SRCDIR = ../common
$(LINTLIB) := SRCS= $(SRCDIR)/$(LINTSRC)
.KEEP_STATE: