Print this page
NEX-16818 Add fksmbcl development tool
NEX-17264 SMB client test tp_smbutil_013 fails after NEX-14666
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Matt Barden <matt.barden@nexenta.com>
and: (fix ref leaks)

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/modhash.h
          +++ new/usr/src/uts/common/sys/modhash.h
↓ open down ↓ 26 lines elided ↑ open up ↑
  27   27  #define _SYS_MODHASH_H
  28   28  
  29   29  /*
  30   30   * Generic hash implementation for the kernel.
  31   31   */
  32   32  
  33   33  #ifdef __cplusplus
  34   34  extern "C" {
  35   35  #endif
  36   36  
  37      -#ifdef _KERNEL
       37 +#if defined(_KERNEL) || defined(_FAKE_KERNEL)
  38   38  
  39   39  #include <sys/types.h>
  40   40  
  41   41  /*
  42   42   * Opaque data types for storing keys and values
  43   43   */
  44   44  typedef void *mod_hash_val_t;
  45   45  typedef void *mod_hash_key_t;
  46   46  
  47   47  /*
↓ open down ↓ 102 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX