Print this page
10063 basic support for smatch
10153 checkpaths shouldn't check packaging exceptions
*** 20,42 ****
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
PROG= vipw
include ../Makefile.ucbcmd
INC1 = $(SRC)/ucbhead
! LDLIBS = -L$(ROOT)/usr/ucblib -R /usr/ucblib $(LDLIBS.cmd) -lucb
CPPFLAGS = -I$(INC1) $(CPPFLAGS.master)
CERRWARN += -_gcc=-Wno-implicit-function-declaration
CERRWARN += -_gcc=-Wno-unused-variable
.KEEP_STATE:
all: $(PROG)
$(PROG): $(PROG).c
--- 20,46 ----
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+ # Copyright (c) 2018, Joyent, Inc.
PROG= vipw
include ../Makefile.ucbcmd
INC1 = $(SRC)/ucbhead
! LDLIBS = -L$(ROOT)/usr/ucblib -R/usr/ucblib $(LDLIBS.cmd) -lucb
CPPFLAGS = -I$(INC1) $(CPPFLAGS.master)
CERRWARN += -_gcc=-Wno-implicit-function-declaration
CERRWARN += -_gcc=-Wno-unused-variable
+ # missing prototypes
+ SMATCH=off
+
.KEEP_STATE:
all: $(PROG)
$(PROG): $(PROG).c