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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/syscall/exacctsys.c
          +++ new/usr/src/uts/common/syscall/exacctsys.c
↓ open down ↓ 16 lines elided ↑ open up ↑
  17   17   * fields enclosed by brackets "[]" replaced with your own identifying
  18   18   * information: Portions Copyright [yyyy] [name of copyright owner]
  19   19   *
  20   20   * CDDL HEADER END
  21   21   */
  22   22  /*
  23   23   * Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
  24   24   * Use is subject to license terms.
  25   25   */
  26   26  
  27      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  28      -
  29   27  #include <sys/acctctl.h>
  30   28  #include <sys/cmn_err.h>
  31   29  #include <sys/cred.h>
  32   30  #include <sys/errno.h>
  33   31  #include <sys/exacct.h>
  34   32  #include <sys/modctl.h>
  35   33  #include <sys/procset.h>
  36   34  #include <sys/sysmacros.h>
  37   35  #include <sys/systm.h>
  38   36  #include <sys/task.h>
↓ open down ↓ 334 lines elided ↑ open up ↑
 373  371  static struct modlsys modlsys32 = {
 374  372          &mod_syscallops32,
 375  373          "32-bit extended accounting facility",
 376  374          &exacctsys_sysent32
 377  375  };
 378  376  
 379  377  #endif
 380  378  
 381  379  static struct modlinkage modlinkage = {
 382  380          MODREV_1,
 383      -        &modlsys,
      381 +        {   &modlsys,
 384  382  #ifdef _SYSCALL32_IMPL
 385      -        &modlsys32,
      383 +            &modlsys32,
 386  384  #endif
 387      -        NULL
      385 +            NULL
      386 +        }
 388  387  };
 389  388  
 390  389  int
 391  390  _init(void)
 392  391  {
 393  392          return (mod_install(&modlinkage));
 394  393  }
 395  394  
 396  395  int
 397  396  _fini(void)
 398  397  {
 399  398          return (mod_remove(&modlinkage));
 400  399  }
 401  400  
 402  401  int
 403  402  _info(struct modinfo *mip)
 404  403  {
 405  404          return (mod_info(&modlinkage, mip));
 406  405  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX