Changeset 0c834c5 in buchla-68k for ram/swinit.c


Ignore:
Timestamp:
07/08/2017 05:56:38 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
60288f5
Parents:
342a56f
Message:

Prototypes for global function pointers. Consistent global types.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ram/swinit.c

    r342a56f r0c834c5  
    4040PFS     aswtbl[14];             /* assignment switch table */
    4141
    42 short   (*curmove)();           /* cursor move function */
    43 short   (*curtype)();           /* cursor type function */
    44 short   (*cx_key)();            /* x rate calculation */
    45 short   (*cx_upd)();            /* x update */
    46 short   (*cy_key)();            /* y rate calculation */
    47 short   (*cy_upd)();            /* y update */
    48 short   (*d_key)();             /* in-field data key processor */
    49 short   (*e_key)();             /* E key processor */
    50 short   (*m_key)();             /* M key processor */
    51 short   (*itxput)();            /* instrument menu text put function */
    52 short   (*not_fld)();           /* not-in-field data key processor */
    53 short   (*olddkey)();           /* saved d_key value */
    54 short   (*oldekey)();           /* saved e_key value */
    55 short   (*oldmkey)();           /* saved m_key value */
    56 short   (*oldxkey)();           /* saved x_key value */
    57 short   (*premove)();           /* cursor pre-move function */
    58 short   (*pstmove)();           /* cursor post-move function */
    59 short   (*vt_adv)();            /* vtyper data cursor advance function */
    60 short   (*vt_bsp)();            /* vtyper data cursor backspace function */
    61 short   (*vt_cdn)();            /* vtyper data cursor down function */
    62 short   (*vt_cup)();            /* vtyper data cursor up function */
    63 short   (*vt_dsp)();            /* vtyper display function */
    64 short   (*vt_stop)();           /* vtyper exit function */
    65 short   (*x_key)();             /* X key processor */
    66 short   (*xy_dn)();             /* cursor - finger on (down) */
    67 short   (*xy_up)();             /* cursor - finger off (up) */
     42void    (*curmove)(void);       /* cursor move function */
     43short   (*curtype)(void);       /* cursor type function */
     44void    (*cx_key)(void);        /* x rate calculation */
     45void    (*cx_upd)(void);        /* x update */
     46void    (*cy_key)(void);        /* y rate calculation */
     47void    (*cy_upd)(void);        /* y update */
     48void    (*d_key)(void);         /* in-field data key processor */
     49void    (*e_key)(void);         /* E key processor */
     50void    (*m_key)(void);         /* M key processor */
     51void    (*itxput)(short row, short col, char *txt, short tag);
     52                                /* instrument menu text put function */
     53void    (*not_fld)(short k);    /* not-in-field data key processor */
     54void    (*olddkey)(void);       /* saved d_key value */
     55void    (*oldekey)(void);       /* saved e_key value */
     56void    (*oldmkey)(void);       /* saved m_key value */
     57void    (*oldxkey)(void);       /* saved x_key value */
     58void    (*premove)(void);       /* cursor pre-move function */
     59void    (*pstmove)(void);       /* cursor post-move function */
     60void    (*vt_adv)(void);        /* vtyper data cursor advance function */
     61void    (*vt_bsp)(void);        /* vtyper data cursor backspace function */
     62void    (*vt_cdn)(void);        /* vtyper data cursor down function */
     63void    (*vt_cup)(void);        /* vtyper data cursor up function */
     64void    (*vt_dsp)(unsigned *obj, unsigned fg, unsigned bg, short row, short col, char *buf);
     65                                /* vtyper display function */
     66void    (*vt_stop)(void);       /* vtyper exit function */
     67void    (*x_key)(void);         /* X key processor */
     68void    (*xy_dn)(void);         /* cursor - finger on (down) */
     69void    (*xy_up)(void);         /* cursor - finger off (up) */
    6870
    6971short   *cratex;                /* cursor x rate table pointer */
Note: See TracChangeset for help on using the changeset viewer.