Print this page
9888 cw shouldn't use __unused

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/cw/cw.c
          +++ new/usr/src/tools/cw/cw.c
↓ open down ↓ 477 lines elided ↑ open up ↑
 478  478  {
 479  479          if (level >= 2) {
 480  480                  newae(h, "-fno-strict-aliasing");
 481  481                  newae(h, "-fno-unit-at-a-time");
 482  482                  newae(h, "-fno-optimize-sibling-calls");
 483  483          }
 484  484  }
 485  485  
 486  486  /* ARGSUSED */
 487  487  static void
 488      -Xamode(struct aelist __unused *h)
      488 +Xamode(struct aelist *h __attribute__((__unused__)))
 489  489  {
 490  490  }
 491  491  
 492  492  static void
 493  493  Xsmode(struct aelist *h)
 494  494  {
 495  495          static int xsonce;
 496  496  
 497  497          if (xsonce++)
 498  498                  return;
↓ open down ↓ 1238 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX