Print this page
11972 resync smatch

@@ -20,10 +20,12 @@
 #
 #
 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright 2019 Joyent, Inc.
+#
 
 LIBRARY=        libdat.a
 VERS=           .1
 
 OBJECTS =       \

@@ -38,29 +40,27 @@
         udat_api.o \
         udat_sr_parser.o
 
 include ../../../Makefile.lib
 
-LIBS =  $(DYNLIB) $(LINTLIB)
+LIBS =  $(DYNLIB)
 LDLIBS += -lc
 
 SRCDIR =        ../common
 
 CPPFLAGS +=     -I../include
 CFLAGS +=       $(CCVERBOSE)
-LINTFLAGS +=    -DDEBUG
-LINTFLAGS64 +=  -DDEBUG
-$(LINTLIB):=    SRCS = $(SRCDIR)/$(LINTSRC)
 
 CERRWARN +=     -_gcc=-Wno-type-limits
 
+# false positive
+SMOFF += signed
+
 $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
 
 .KEEP_STATE:
 
 all: $(LIBS)
 
 debug: all
 
-lint: lintcheck
-
 include ../../../Makefile.targ