Print this page
10079 smatch Makefile changes for usr/src/lib
*** 20,30 ****
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! #
LIBRARY= libfdisk.a
VERS= .1
OBJECTS= libfdisk.o
--- 20,30 ----
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright (c) 2018, Joyent, Inc.
LIBRARY= libfdisk.a
VERS= .1
OBJECTS= libfdisk.o
*** 52,61 ****
--- 52,64 ----
LINTFLAGS += -erroff=E_BAD_PTR_CAST_ALIGN
LINTFLAGS64 += -erroff=E_BAD_PTR_CAST_ALIGN
CERRWARN += -_gcc=-Wno-uninitialized
+ # not linted
+ SMATCH=off
+
.KEEP_STATE:
all: $(LIBS)
lint: lintcheck