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/kii/include/structures.h

    r5852 r21153  
    2828  int      width, height;
    2929  char    *bitmap;          /* picture on button */
    30   int    (*function_1) ();  /* mouse_button 1 function */
    31   int    (*function_2) ();  /* mouse_button 2 function */
    32   int    (*function_3) ();  /* mouse_button 3 function */
     30  int    (*function_1) (void);  /* mouse_button 1 function */
     31  int    (*function_2) (void);  /* mouse_button 2 function */
     32  int    (*function_3) (void);  /* mouse_button 3 function */
    3333} Button;
    3434
     
    4040  int      outline;        /* draw an outline?  */
    4141  int      cursor;         /* location of cursor (if selected) */
    42   int    (*function) ();   /* textline function */
     42  int    (*function) (void);   /* textline function */
    4343} TextLine;
    4444
     
    5353  int      cursor_x;       /* location of cursor (if selected) */
    5454  int      cursor_y;       /* location of cursor (if selected) */
    55   int    (*function) ();   /* textline function */
     55  int    (*function) (void);   /* textline function */
    5656} TextBox;
    5757
Note: See TracChangeset for help on using the changeset viewer.