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