Print this page
7127  remove -Wno-missing-braces from Makefile.uts

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/gssapi/mechs/krb5/include/k5-thread.h
          +++ new/usr/src/uts/common/gssapi/mechs/krb5/include/k5-thread.h
↓ open down ↓ 32 lines elided ↑ open up ↑
  33   33  
  34   34  #ifndef K5_THREAD_H
  35   35  #define K5_THREAD_H
  36   36  
  37   37  #ifdef _KERNEL
  38   38  
  39   39  #include <sys/ksynch.h>
  40   40  
  41   41  typedef kmutex_t k5_mutex_t;
  42   42  
  43      -#define K5_MUTEX_PARTIAL_INITIALIZER {0}
       43 +#define K5_MUTEX_PARTIAL_INITIALIZER {{NULL}}
  44   44  
  45   45  /* ARGSUSED */
  46   46  static void k5_mutex_assert_locked(k5_mutex_t *m) { }
  47   47  
  48   48  static int
  49   49  k5_mutex_lock(k5_mutex_t *m)
  50   50  {
  51   51    mutex_enter(m);
  52   52    return (0);
  53   53  }
↓ open down ↓ 804 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX