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

    r6684 r21153  
    2323  int      width, height;
    2424  char    *bitmap;          /* picture on button */
    25   int    (*function_1) ();  /* mouse_button 1 function */
    26   int    (*function_2) ();  /* mouse_button 2 function */
    27   int    (*function_3) ();  /* mouse_button 3 function */
     25  int    (*function_1) (void);  /* mouse_button 1 function */
     26  int    (*function_2) (void);  /* mouse_button 2 function */
     27  int    (*function_3) (void);  /* mouse_button 3 function */
    2828} Button;
    2929
     
    3535  int      outline;        /* draw an outline?  */
    3636  int      cursor;         /* location of cursor (if selected) */
    37   int    (*function) ();   /* textline function */
     37  int    (*function) (void);   /* textline function */
    3838} TextLine;
    3939
     
    4848  int      cursor_x;       /* location of cursor (if selected) */
    4949  int      cursor_y;       /* location of cursor (if selected) */
    50   int    (*function) ();   /* textline function */
     50  int    (*function) (void);   /* textline function */
    5151} TextBox;
    5252
Note: See TracChangeset for help on using the changeset viewer.