Print this page
10079 smatch Makefile changes for usr/src/lib
*** 20,29 ****
--- 20,30 ----
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+ # Copyright (c) 2018, Joyent, Inc.
LIBRARY = libdhcpagent.a
VERS = .1
OBJECTS = dhcp_hostconf.o dhcpagent_ipc.o dhcpagent_util.o dhcp_stable.o
*** 40,49 ****
--- 41,53 ----
$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-type-limits
+ # needs work
+ SMOFF += allocating_enough_data
+
.KEEP_STATE:
all: $(LIBS)
lint: lintcheck