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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/doorfs/door_sys.c
          +++ new/usr/src/uts/common/fs/doorfs/door_sys.c
↓ open down ↓ 126 lines elided ↑ open up ↑
 127  127  
 128  128  static struct modlsys modlsys32 = {
 129  129          &mod_syscallops32,
 130  130          "32-bit door syscalls",
 131  131          &door_sysent32
 132  132  };
 133  133  #endif
 134  134  
 135  135  static struct modlinkage modlinkage = {
 136  136          MODREV_1,
 137      -        &modlsys,
      137 +        {   &modlsys,
 138  138  #ifdef _SYSCALL32_IMPL
 139      -        &modlsys32,
      139 +            &modlsys32,
 140  140  #endif
 141      -        NULL
      141 +            NULL
      142 +        }
 142  143  };
 143  144  
 144  145  dev_t   doordev;
 145  146  
 146  147  extern  struct vfs door_vfs;
 147  148  extern  struct vnodeops *door_vnodeops;
 148  149  
 149  150  int
 150  151  _init(void)
 151  152  {
 152  153          static const fs_operation_def_t door_vfsops_template[] = {
 153      -                NULL, NULL
      154 +                { NULL, { NULL } }
 154  155          };
 155  156          extern const fs_operation_def_t door_vnodeops_template[];
 156  157          vfsops_t *door_vfsops;
 157  158          major_t major;
 158  159          int error;
 159  160  
 160  161          mutex_init(&door_knob, NULL, MUTEX_DEFAULT, NULL);
 161  162          if ((major = getudev()) == (major_t)-1)
 162  163                  return (ENXIO);
 163  164          doordev = makedevice(major, 0);
↓ open down ↓ 3399 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX