Print this page
10079 smatch Makefile changes for usr/src/lib
*** 20,29 ****
--- 20,30 ----
#
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+ # Copyright (c) 2018, Joyent, Inc.
SRCS = tcvn%UCS-2.c \
tcvn%UTF-8.c \
tcvn%viscii.c \
UCS-2%tcvn.c \
*** 36,45 ****
--- 37,49 ----
COMMON = ../common/
LINK_TARGETS = UCS-2BE%tcvn.so tcvn%UCS-2BE.so
LINK_TARGETS += UCS-2BE%viscii.so viscii%UCS-2BE.so
+ # needs work
+ SMOFF += all_func_returns,deref_check
+
dummy: all
tcvn%UCS-2LE.o: $(COMMON)tcvn%UCS-2.c
$(CC) $(CFLAGS) -DUCS_2LE -c -o $@ $^