Print this page
XXX Remove nawk(1)
        
*** 21,41 ****
  #
  #
  # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  # Use is subject to license terms.
  #
- #ident  "%Z%%M% %I%     %E% SMI"
- #
  
  #
  # Create dummy functions for each of the functions in the module API.  We can
  # then link a module against an object file created from the output of this
  # script to determine whether or not that module restricts itself to the API.
  # If the module uses functions outside of the module API, then it cannot be
  # used as a kmdb module.
  #
! nawk '
          /^[     ]*global:[      ]*$/ {
                  printing = 1;
                  next;
          }
  
--- 21,39 ----
  #
  #
  # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  # Use is subject to license terms.
  #
  
  #
  # Create dummy functions for each of the functions in the module API.  We can
  # then link a module against an object file created from the output of this
  # script to determine whether or not that module restricts itself to the API.
  # If the module uses functions outside of the module API, then it cannot be
  # used as a kmdb module.
  #
! /usr/xpg4/bin/awk '
          /^[     ]*global:[      ]*$/ {
                  printing = 1;
                  next;
          }