Ticket #31508: patch-clang.diff

File patch-clang.diff, 1002 bytes (added by takanori@…, 13 years ago)
  • src/nsfont.m

    old new  
    12861286      }
    12871287
    12881288    CGContextRestoreGState (gcontext);
    1289     return;
     1289    return 0;
    12901290  }
    12911291#endif  /* NS_IMPL_COCOA */
    12921292
  • src/nsimage.m

    old new  
    325325
    326326/* Set color for a bitmap image (see initFromSkipXBM).  Note that the alpha
    327327   is used as a mask, so we just memset the entire array. */
    328 - setXBMColor: (NSColor *)color
     328- (void) setXBMColor: (NSColor *)color
    329329{
    330330  NSSize s = [self size];
    331331  int len = (int) s.width * s.height;
  • src/nsterm.m

    old new  
    54945494  NSTRACE (performDragOperation);
    54955495
    54965496  if (!emacs_event)
    5497     return;
     5497    return NO;
    54985498
    54995499  position = [self convertPoint: [sender draggingLocation] fromView: nil];
    55005500  x = lrint (position.x);  y = lrint (position.y);