IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 22, 2009, 10:43:26 AM (17 years ago)
Author:
eugene
Message:

lots of very minor API mods to satisfy some pickier compilers (supply void to prototypes for argument-less functions)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/kapa2/include/kii.struct.h

    r13320 r21153  
    2929  int      width, height;
    3030  char    *bitmap;          /* picture on button */
    31   int    (*function_1) ();  /* mouse_button 1 function */
    32   int    (*function_2) ();  /* mouse_button 2 function */
    33   int    (*function_3) ();  /* mouse_button 3 function */
     31  int    (*function_1) (void);  /* mouse_button 1 function */
     32  int    (*function_2) (void);  /* mouse_button 2 function */
     33  int    (*function_3) (void);  /* mouse_button 3 function */
    3434} Button;
    3535
     
    4141  int      outline;        /* draw an outline?  */
    4242  int      cursor;         /* location of cursor (if selected) */
    43   int    (*function) ();   /* textline function */
     43  int    (*function) (void);   /* textline function */
    4444} TextLine;
    4545
     
    5454  int      cursor_x;       /* location of cursor (if selected) */
    5555  int      cursor_y;       /* location of cursor (if selected) */
    56   int    (*function) ();   /* textline function */
     56  int    (*function) (void);   /* textline function */
    5757} TextBox;
    5858
Note: See TracChangeset for help on using the changeset viewer.