Print this page
10080 smatch Makefile changes for usr/src/cmd
        
*** 20,29 ****
--- 20,30 ----
  # CDDL HEADER END
  #
  #
  # Copyright (c) 1989 by Sun Microsystems, Inc.
  #
+ # Copyright (c) 2018, Joyent, Inc.
  
  FSTYPE=         nfs
  LIBPROG=        dfmounts
  ATTMK=          $(LIBPROG)
  
*** 41,50 ****
--- 42,54 ----
  LDLIBS +=       -lrpcsvc -lnsl
  
  CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  CERRWARN +=     -_gcc=-Wno-parentheses
  
+ # unknown type for func
+ SMATCH =        off
+ 
  $(LIBPROG):     $(OBJS)
                  $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
                  $(POST_PROCESS)
  
  #