Print this page
10080 smatch Makefile changes for usr/src/cmd

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/ndmpd/Makefile
          +++ new/usr/src/cmd/ndmpd/Makefile
   1    1  #
   2    2  # Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
        3 +# Copyright (c) 2018, Joyent, Inc.
   3    4  #
   4    5  
   5    6  #
   6    7  # BSD 3 Clause License
   7    8  #
   8    9  # Copyright (c) 2007, The Storage Networking Industry Association.
   9   10  #
  10   11  # Redistribution and use in source and binary forms, with or without
  11   12  # modification, are permitted provided that the following conditions
  12   13  # are met:
↓ open down ↓ 31 lines elided ↑ open up ↑
  44   45  
  45   46  include $(NDMP_DIR)/Makefile.rpcgen
  46   47  
  47   48  CFLAGS += $(CCVERBOSE)
  48   49  
  49   50  CPPFLAGS += $(LFLAGS64)
  50   51  
  51   52  CPPFLAGS += -D_FILE_OFFSET_BITS=64 -DDEBUG
  52   53  CPPFLAGS += -I. -Iinclude
  53   54  
       55 +# not linted
       56 +SMATCH=off
       57 +
  54   58  CSTD = $(CSTD_GNU99)
  55   59  
  56   60  # lint does not like unused _umem_*_init
  57   61  LINTFLAGS += -xerroff=E_NAME_DEF_NOT_USED2 
  58   62  
  59   63  # function argument declared inconsistently
  60   64  LINTFLAGS += -xerroff=E_INCONS_ARG_DECL2
  61   65  # value type used inconsistently
  62   66  LINTFLAGS += -xerroff=E_INCONS_VAL_TYPE_USED2
  63   67  # value type declared inconsistently
↓ open down ↓ 97 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX